Browse Source

OSX MAcro Colision

Roger Hughston 20 years ago
parent
commit
b733a22493
1 changed files with 7 additions and 0 deletions
  1. 7 0
      panda/src/mathutil/fftCompressor.cxx

+ 7 - 0
panda/src/mathutil/fftCompressor.cxx

@@ -28,6 +28,13 @@
 #ifdef HAVE_FFTW
 #ifdef HAVE_FFTW
 
 
 #ifdef IS_OSX
 #ifdef IS_OSX
+//  hack.....
+// this is a hack to help interigate sort out a macro 
+// in the system poll and select definitions 
+//    
+#ifdef howmany
+#undef howmany
+#endif
 #include <drfftw.h>
 #include <drfftw.h>
 #else
 #else
 #include <rfftw.h>
 #include <rfftw.h>