Panda3D
pre_collada_include.h
1 // Filename: pre_collada_include.h
2 // Created by: rdb (23May11)
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 // This header file should be included before including any of the
16 // COLLADA DOM headers. It should only be included in a .cxx file
17 // (not in a header file) and no Panda3D headers should be included
18 // after the pre_collada_include.h include.
19 
20 #ifdef PRE_COLLADA_INCLUDE_H
21 #error Don't include any Panda headers after including pre_collada_include.h!
22 #endif
23 #define PRE_COLLADA_INCLUDE_H
24 
25 // Undef some macros that conflict with COLLADA.
26 #undef INLINE
27 #undef tolower
28 
29 #include <dae.h>