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