diff options
Diffstat (limited to 'test_pffft.c')
-rw-r--r-- | test_pffft.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test_pffft.c b/test_pffft.c index 99a4e11..64e0ba7 100644 --- a/test_pffft.c +++ b/test_pffft.c @@ -33,6 +33,10 @@ #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 /* EXPECTED_DYN_RANGE in dB: * single precision float has 24 bits mantissa |