Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogre/OgreMain/include/OgreStdHeaders.h @ 29

Last change on this file since 29 was 5, checked in by anonymous, 17 years ago

=hoffentlich gehts jetzt

File size: 1.8 KB
Line 
1#ifndef __StdHeaders_H__
2#define __StdHeaders_H__
3
4#ifdef __BORLANDC__
5    #define __STD_ALGORITHM
6#endif
7
8#if defined ( OGRE_GCC_VISIBILITY )
9/* Until libstdc++ for gcc 4.2 is released, we have to declare all
10 * symbols in libstdc++.so externally visible, otherwise we end up
11 * with them marked as hidden by -fvisible=hidden.
12 *
13 * See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20218
14 */
15#   pragma GCC visibility push(default)
16#endif
17
18#include <cassert>
19#include <cstdio>
20#include <cstdlib>
21#include <ctime>
22#include <cstring>
23#include <cstdarg>
24#include <cmath>
25
26// STL containers
27#include <vector>
28#include <map>
29#include <string>
30#include <set>
31#include <list>
32#include <deque>
33#include <queue>
34#include <bitset>
35
36// Note - not in the original STL, but exists in SGI STL and STLport
37#if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)
38#   include <ext/hash_map>
39#   include <ext/hash_set>
40#else
41#   include <hash_set>
42#   include <hash_map>
43#endif
44
45// STL algorithms & functions
46#include <algorithm>
47#include <functional>
48#include <limits>
49
50// C++ Stream stuff
51#include <fstream>
52#include <iostream>
53#include <iomanip>
54#include <sstream>
55
56#ifdef __BORLANDC__
57namespace Ogre
58{
59    using namespace std;
60}
61#endif
62
63extern "C" {
64
65#   include <sys/types.h>
66#   include <sys/stat.h>
67
68}
69
70#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
71#  undef min
72#  undef max
73#  if defined( __MINGW32__ )
74#    include <unistd.h>
75#  endif
76#endif
77
78#if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
79extern "C" {
80
81#   include <unistd.h>
82#   include <dlfcn.h>
83
84}
85#endif
86
87#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
88extern "C" {
89#   include <unistd.h>
90#   include <sys/param.h>
91#   include <CoreFoundation/CoreFoundation.h>
92}
93#endif
94
95#if OGRE_THREAD_SUPPORT
96#       include <boost/thread/recursive_mutex.hpp>
97#endif
98
99#if defined ( OGRE_GCC_VISIBILITY )
100#   pragma GCC visibility pop
101#endif
102#endif
Note: See TracBrowser for help on using the repository browser.