ode_includes.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Filename: ode_includes.h
  2. // Created by: joswilso (30Jan07)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. #ifndef _ODE_INCLUDES_H_
  15. #define _ODE_INCLUDES_H_
  16. #ifdef int8
  17. #define temp_ode_int8 int8
  18. #undef int8
  19. #endif
  20. #ifdef int32
  21. #define temp_ode_int32 int32
  22. #undef int32
  23. #endif
  24. #ifdef uint32
  25. #define temp_ode_uint32 uint32
  26. #undef uint32
  27. #endif
  28. #define int8 ode_int8
  29. #define int32 ode_int32
  30. #define uint32 ode_uint32
  31. #include "ode/ode.h"
  32. // These are the ones that conflict with other defines in Panda.
  33. // It may be necessary to add to this list at a later time.
  34. #undef int8
  35. #undef int32
  36. #undef uint32
  37. #ifdef temp_ode_int8
  38. #define int8 temp_ode_int8
  39. #undef temp_ode_int8
  40. #endif
  41. #ifdef temp_ode_int32
  42. #define int32 temp_ode_int32
  43. #undef temp_ode_int32
  44. #endif
  45. #ifdef temp_ode_uint32
  46. #define uint32 temp_ode_uint32
  47. #undef temp_ode_uint32
  48. #endif
  49. #endif