762c8bfce83e — Chris Cannam 7 years ago
Define pi, if not defined already
1 files changed, 4 insertions(+), 0 deletions(-)

M src/MiniBpm.cpp
M src/MiniBpm.cpp +4 -0
@@ 38,6 38,10 @@ 
 #endif
 #endif
 
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
 using std::vector;
 
 #include <iostream>