From 874e10d42f89985059653444dff7c8a62b54b747 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 12 Jun 2008 10:19:25 +0000 Subject: [PATCH] Added something to make it work on OSX as well --- panda/src/mathutil/fftCompressor.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/panda/src/mathutil/fftCompressor.cxx b/panda/src/mathutil/fftCompressor.cxx index a5e07f47c1..f04f7eb92c 100644 --- a/panda/src/mathutil/fftCompressor.cxx +++ b/panda/src/mathutil/fftCompressor.cxx @@ -30,7 +30,12 @@ #ifdef howmany #undef howmany #endif -#include "rfftw.h" + +#ifdef IS_OSX + #include "drfftw.h" +#else + #include "rfftw.h" +#endif // These FFTW support objects can only be defined if we actually have // the FFTW library available.