Browse Source

undef after temporary redef

Josh Wilson 19 years ago
parent
commit
70d5e7c549
1 changed files with 5 additions and 1 deletions
  1. 5 1
      panda/src/ode/ode_includes.h

+ 5 - 1
panda/src/ode/ode_includes.h

@@ -21,23 +21,27 @@
  
 #ifdef int8
   #define temp_ode_int8 int8
+  #undef int8
 #endif
 
 #ifdef int32
   #define temp_ode_int32 int32
+  #undef int32
 #endif
 
 #ifdef uint32
   #define temp_ode_uint32 uint32
+  #undef uint32
 #endif
 
-
 #define int8 ode_int8
 #define int32 ode_int32
 #define uint32 ode_uint32
 
 #include "ode/ode.h"
 
+// These are the ones that conflict with other defines in Panda.
+// It may be necessary to add to this list at a later time.
 #undef int8
 #undef int32
 #undef uint32