Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
edba76c8
Commit
edba76c8
authored
Oct 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Don't define math functions or constants in wine/port.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2afb4fd0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
13 deletions
+4
-13
loader.c
dlls/ntdll/unix/loader.c
+1
-0
wgl.c
dlls/opengl32/wgl.c
+1
-0
libtiff.c
dlls/windowscodecs/libtiff.c
+1
-0
wintab.c
dlls/winex11.drv/wintab.c
+1
-0
port.h
include/wine/port.h
+0
-13
No files found.
dlls/ntdll/unix/loader.c
View file @
edba76c8
...
...
@@ -30,6 +30,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>
#include <math.h>
#ifdef HAVE_LINK_H
# include <link.h>
#endif
...
...
dlls/opengl32/wgl.c
View file @
edba76c8
...
...
@@ -24,6 +24,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
...
...
dlls/windowscodecs/libtiff.c
View file @
edba76c8
...
...
@@ -25,6 +25,7 @@
#include "wine/port.h"
#include <stdarg.h>
#include <math.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
...
...
dlls/winex11.drv/wintab.c
View file @
edba76c8
...
...
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
...
...
include/wine/port.h
View file @
edba76c8
...
...
@@ -30,7 +30,6 @@
#endif
#include <fcntl.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
...
...
@@ -70,16 +69,4 @@ static inline int symlink(const char *from, const char *to) { errno = ENOSYS; re
#endif
/* _WIN32 */
/****************************************************************
* Constants
*/
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef M_PI_2
#define M_PI_2 1.570796326794896619
#endif
#endif
/* !defined(__WINE_WINE_PORT_H) */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment