[xiph-commits] r10648 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sun Dec 18 13:56:42 PST 2005
Author: jm
Date: 2005-12-18 13:56:40 -0800 (Sun, 18 Dec 2005)
New Revision: 10648
Modified:
trunk/speex/libspeex/math_approx.c
Log:
definition of M_PI
Modified: trunk/speex/libspeex/math_approx.c
===================================================================
--- trunk/speex/libspeex/math_approx.c 2005-12-18 20:56:46 UTC (rev 10647)
+++ trunk/speex/libspeex/math_approx.c 2005-12-18 21:56:40 UTC (rev 10648)
@@ -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
More information about the commits
mailing list