Windows doesn't have M_PI; define it ourselves when needed.

This should fix the Windows build, broken by commit ed802e7d.
This commit is contained in:
Heikki Linnakangas 2014-08-04 18:06:34 +03:00
parent b819dd7cb5
commit cd74a151b5
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
/*
* Multi-platform pthread implementations
*/