Panda3D
pre_fcollada_include.h
1 // Filename: pre_fcollada_include.h
2 // Created by: pro-rsoft (04Oct08)
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 file defines some stuff that need to be defined before
16 // one includes FCollada.h
17 
18 #ifndef PRE_FCOLLADA_INCLUDE_H
19 #define PRE_FCOLLADA_INCLUDE_H
20 
21 #ifdef FCOLLADA_VERSION
22  #error You must include pre_fcollada_include.h before including FCollada.h!
23 #endif
24 
25 #ifdef _WIN32
26 #ifndef WIN32_LEAN_AND_MEAN
27 #define WIN32_LEAN_AND_MEAN 1
28 #endif
29 #include <winsock2.h>
30 #endif
31 
32 // FCollada expects LINUX to be defined on linux
33 #ifdef IS_LINUX
34  #ifndef LINUX
35  #define LINUX
36  #endif
37 #endif
38 
39 #define NO_LIBXML
40 #define FCOLLADA_NOMINMAX
41 
42 #endif