Panda3D
|
00001 // Filename: ode_includes.h 00002 // Created by: joswilso (30Jan07) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef _ODE_INCLUDES_H_ 00016 #define _ODE_INCLUDES_H_ 00017 00018 #include "pandabase.h" 00019 00020 #ifdef int8 00021 #define temp_ode_int8 int8 00022 #undef int8 00023 #endif 00024 00025 #ifdef int32 00026 #define temp_ode_int32 int32 00027 #undef int32 00028 #endif 00029 00030 #ifdef uint32 00031 #define temp_ode_uint32 uint32 00032 #undef uint32 00033 #endif 00034 00035 #define int8 ode_int8 00036 #define int32 ode_int32 00037 #define uint32 ode_uint32 00038 00039 #include "ode/ode.h" 00040 00041 // These are the ones that conflict with other defines in Panda. 00042 // It may be necessary to add to this list at a later time. 00043 #undef int8 00044 #undef int32 00045 #undef uint32 00046 00047 #ifdef temp_ode_int8 00048 #define int8 temp_ode_int8 00049 #undef temp_ode_int8 00050 #endif 00051 00052 #ifdef temp_ode_int32 00053 #define int32 temp_ode_int32 00054 #undef temp_ode_int32 00055 #endif 00056 00057 #ifdef temp_ode_uint32 00058 #define uint32 temp_ode_uint32 00059 #undef temp_ode_uint32 00060 #endif 00061 00062 00063 #endif