M_PI is not defined in standard C, needs __USE_BSD

This commit is contained in:
Enno Rehling 2017-05-04 08:14:19 +02:00
parent 138035dfda
commit 692c9a1dac
1 changed files with 1 additions and 0 deletions

View File

@ -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