M_PI not defined on win32 (and possibly other platforms)
authoroddsock <oddsock@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 6 Feb 2004 14:20:27 +0000 (14:20 +0000)
committeroddsock <oddsock@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 6 Feb 2004 14:20:27 +0000 (14:20 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@5813 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/quant_lsp.c

index 76d3f37..26b7884 100644 (file)
 
 #include "quant_lsp.h"
 #include <math.h>
 
 #include "quant_lsp.h"
 #include <math.h>
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
 
 #include "misc.h"
 
 
 #include "misc.h"