Panda3D
Loading...
Searching...
No Matches
ode_includes.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file ode_includes.h
10 * @author joswilso
11 * @date 2007-01-30
12 */
13
14#ifndef _ODE_INCLUDES_H_
15#define _ODE_INCLUDES_H_
16
17#include "pandabase.h"
18
19#ifdef int8
20 #define temp_ode_int8 int8
21 #undef int8
22#endif
23
24#ifdef int32
25 #define temp_ode_int32 int32
26 #undef int32
27#endif
28
29#ifdef uint32
30 #define temp_ode_uint32 uint32
31 #undef uint32
32#endif
33
34#define int8 ode_int8
35#define int32 ode_int32
36#define uint32 ode_uint32
37
38#include <ode/ode.h>
39
40// These are the ones that conflict with other defines in Panda. It may be
41// necessary to add to this list at a later time.
42#undef int8
43#undef int32
44#undef uint32
45
46#ifdef temp_ode_int8
47 #define int8 temp_ode_int8
48 #undef temp_ode_int8
49#endif
50
51#ifdef temp_ode_int32
52 #define int32 temp_ode_int32
53 #undef temp_ode_int32
54#endif
55
56#ifdef temp_ode_uint32
57 #define uint32 temp_ode_uint32
58 #undef temp_ode_uint32
59#endif
60
61
62#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.