source: GTP/trunk/App/Demos/Geom/OgreStuff/include/OgreStdHeaders.h @ 1812

Revision 1812, 1.5 KB checked in by gumbau, 18 years ago (diff)
Line 
1#ifndef __StdHeaders_H__
2#define __StdHeaders_H__
3
4#ifdef __BORLANDC__
5    #define __STD_ALGORITHM
6#endif
7
8#include <cassert>
9#include <cstdio>
10#include <cstdlib>
11#include <ctime>
12#include <cstring>
13#include <cstdarg>
14#include <cmath>
15
16// STL containers
17#include <vector>
18#include <map>
19#include <string>
20#include <set>
21#include <list>
22#include <deque>
23#include <queue>
24#include <bitset>
25
26// Note - not in the original STL, but exists in SGI STL and STLport
27#if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)
28#   include <ext/hash_map>
29#   include <ext/hash_set>
30#else
31#   include <hash_set>
32#   include <hash_map>
33#endif
34
35// STL algorithms & functions
36#include <algorithm>
37#include <functional>
38#include <limits>
39
40// C++ Stream stuff
41#include <fstream>
42#include <iostream>
43#include <iomanip>
44#include <sstream>
45
46#ifdef __BORLANDC__
47namespace Ogre
48{
49    using namespace std;
50}
51#endif
52
53extern "C" {
54
55#   include <sys/types.h>
56#   include <sys/stat.h>
57
58}
59
60#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
61#  undef min
62#  undef max
63#  if defined( __MINGW32__ )
64#    include <unistd.h>
65#  endif
66#endif
67
68#if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
69extern "C" {
70
71#   include <unistd.h>
72#   include <dlfcn.h>
73
74}
75#endif
76
77#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
78extern "C" {
79#   include <unistd.h>
80#   include <sys/param.h>
81#   include <CoreFoundation/CoreFoundation.h>
82}
83#endif
84
85#if OGRE_THREAD_SUPPORT
86#       include <boost/thread/recursive_mutex.hpp>
87#endif
88
89#endif
Note: See TracBrowser for help on using the repository browser.