[xiph-commits] r12434 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Mon Feb 5 17:19:28 PST 2007


Author: jm
Date: 2007-02-05 17:19:26 -0800 (Mon, 05 Feb 2007)
New Revision: 12434

Modified:
   trunk/speex/libspeex/resample.c
Log:
defining M_PI if it's not.


Modified: trunk/speex/libspeex/resample.c
===================================================================
--- trunk/speex/libspeex/resample.c	2007-02-05 23:22:46 UTC (rev 12433)
+++ trunk/speex/libspeex/resample.c	2007-02-06 01:19:26 UTC (rev 12434)
@@ -66,6 +66,10 @@
 #include <math.h>
 #include "speex/speex_resampler.h"
 
+#ifndef M_PI
+#define M_PI 3.14159263
+#endif
+
 #ifdef FIXED_POINT
 #define WORD2INT(x) ((x) < -32767 ? -32768 : ((x) > 32766 ? 32767 : (x)))  
 #else



More information about the commits mailing list