forked from github/server
M_PI is not defined in standard C, needs __USE_BSD
This commit is contained in:
parent
138035dfda
commit
692c9a1dac
|
@ -21,6 +21,7 @@
|
|||
#pragma warning(disable: 4457) // declaration hides function parameter
|
||||
#pragma warning(disable: 4459) // declaration hides global
|
||||
#else /* assume gcc */
|
||||
#define __USE_BSD
|
||||
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
|
||||
# define va_copy(a,b) __va_copy(a,b)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue