Panda3D
|
00001 // Filename: pre_collada_include.h 00002 // Created by: rdb (23May11) 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 // This header file should be included before including any of the 00016 // COLLADA DOM headers. It should only be included in a .cxx file 00017 // (not in a header file) and no Panda3D headers should be included 00018 // after the pre_collada_include.h include. 00019 00020 #ifdef PRE_COLLADA_INCLUDE_H 00021 #error Don't include any Panda headers after including pre_collada_include.h! 00022 #endif 00023 #define PRE_COLLADA_INCLUDE_H 00024 00025 // Undef some macros that conflict with COLLADA. 00026 #undef INLINE 00027 #undef tolower 00028 00029 #include <dae.h>