definition of M_PI


git-svn-id: http://svn.xiph.org/trunk/speex@10648 0101bb08-14d6-0310-b084-bc0e0c8e3800
diff --git a/libspeex/math_approx.c b/libspeex/math_approx.c
index 08038ba..41cb855 100644
--- a/libspeex/math_approx.c
+++ b/libspeex/math_approx.c
@@ -151,6 +151,10 @@
 
 #else
 
+#ifndef M_PI
+#define M_PI           3.14159265358979323846  /* pi */
+#endif
+
 #define C1 0.9999932946f
 #define C2 -0.4999124376f
 #define C3 0.0414877472f