aboutsummaryrefslogtreecommitdiff
path: root/test_pffft_double.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_pffft_double.c')
-rw-r--r--test_pffft_double.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test_pffft_double.c b/test_pffft_double.c
index 51e95ac..4a702ec 100644
--- a/test_pffft_double.c
+++ b/test_pffft_double.c
@@ -37,6 +37,10 @@ Note: adapted for double precision dynamic range version.
#include <assert.h>
#include <string.h>
+/* define own constants required to turn off g++ extensions .. */
+#ifndef M_PI
+ #define M_PI 3.14159265358979323846 /* pi */
+#endif
#define EXPECTED_DYN_RANGE 215.0