Browse Source

Added something to make it work on OSX as well

rdb 17 years ago
parent
commit
874e10d42f
1 changed files with 6 additions and 1 deletions
  1. 6 1
      panda/src/mathutil/fftCompressor.cxx

+ 6 - 1
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.