Commit edba76c8 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Don't define math functions or constants in wine/port.h.

parent 2afb4fd0
......@@ -30,6 +30,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>
#include <math.h>
#ifdef HAVE_LINK_H
# include <link.h>
#endif
......
......@@ -24,6 +24,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
......
......@@ -25,6 +25,7 @@
#include "wine/port.h"
#include <stdarg.h>
#include <math.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
......
......@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
......
......@@ -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) */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment