Panda3D
Loading...
Searching...
No Matches
pre_fcollada_include.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 pre_fcollada_include.h
10 * @author rdb
11 * @date 2008-10-04
12 */
13
14// This file defines some stuff that need to be defined before one includes
15// FCollada.h
16
17#ifndef PRE_FCOLLADA_INCLUDE_H
18#define PRE_FCOLLADA_INCLUDE_H
19
20#ifdef FCOLLADA_VERSION
21 #error You must include pre_fcollada_include.h before including FCollada.h!
22#endif
23
24#ifdef _WIN32
25#ifndef WIN32_LEAN_AND_MEAN
26#define WIN32_LEAN_AND_MEAN 1
27#endif
28#include <winsock2.h>
29#endif
30
31// FCollada expects LINUX to be defined on linux
32#ifdef IS_LINUX
33 #ifndef LINUX
34 #define LINUX
35 #endif
36#endif
37
38#define NO_LIBXML
39#define FCOLLADA_NOMINMAX
40
41// FCollada does use global min/max.
42using std::min;
43using std::max;
44
45#endif