Commit cd74a151 authored by Heikki Linnakangas's avatar Heikki Linnakangas

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

This should fix the Windows build, broken by commit ed802e7d.
parent b819dd7c
......@@ -53,6 +53,10 @@
#define INT64_MAX INT64CONST(0x7FFFFFFFFFFFFFFF)
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
/*
* Multi-platform pthread implementations
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment