Panda3D
 All Classes Functions Variables Enumerations
ode_includes.h
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 
15 #ifndef _ODE_INCLUDES_H_
16 #define _ODE_INCLUDES_H_
17 
18 #include "pandabase.h"
19 
20 #ifdef int8
21  #define temp_ode_int8 int8
22  #undef int8
23 #endif
24 
25 #ifdef int32
26  #define temp_ode_int32 int32
27  #undef int32
28 #endif
29 
30 #ifdef uint32
31  #define temp_ode_uint32 uint32
32  #undef uint32
33 #endif
34 
35 #define int8 ode_int8
36 #define int32 ode_int32
37 #define uint32 ode_uint32
38 
39 #include "ode/ode.h"
40 
41 // These are the ones that conflict with other defines in Panda.
42 // It may be necessary to add to this list at a later time.
43 #undef int8
44 #undef int32
45 #undef uint32
46 
47 #ifdef temp_ode_int8
48  #define int8 temp_ode_int8
49  #undef temp_ode_int8
50 #endif
51 
52 #ifdef temp_ode_int32
53  #define int32 temp_ode_int32
54  #undef temp_ode_int32
55 #endif
56 
57 #ifdef temp_ode_uint32
58  #define uint32 temp_ode_uint32
59  #undef temp_ode_uint32
60 #endif
61 
62 
63 #endif