Make M_PI the same as what math.h defines it as
authorRon <ron@debian.org>
Wed, 2 Jul 2014 02:46:46 +0000 (12:16 +0930)
committerRon <ron@debian.org>
Wed, 2 Jul 2014 02:46:46 +0000 (12:16 +0930)
Since the math.h one is what most systems will use anyway.

libspeexdsp/resample.c

index aa0d9a0..2edb5b6 100644 (file)
@@ -79,7 +79,7 @@ static void speex_free (void *ptr) {free(ptr);}
 #include <math.h>
 
 #ifndef M_PI
-#define M_PI 3.14159263
+#define M_PI 3.14159265358979323846
 #endif
 
 #ifdef FIXED_POINT