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:
parent
b819dd7cb5
commit
cd74a151b5
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@
|
|||
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Multi-platform pthread implementations
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue