Commit be0205e3 authored by Sam Mikes's avatar Sam Mikes
Browse files

Guard against multiple definition of M_PI

parent 169083af
......@@ -9,7 +9,9 @@
*/
#if defined(_MSC_VER)
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327950288
#endif
#if _MSC_VER <= 1700 // 1700 is VC11, 1800 is VC12
/***************************
......
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