Revision 657,
1.4 KB
checked in by mattausch, 19 years ago
(diff) |
added ogre dependencies and patched ogre sources
|
Rev | Line | |
---|
[657] | 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 |
|
---|
| 25 | // Note - not in the original STL, but exists in SGI STL and STLport
|
---|
| 26 | #ifdef EXT_HASH
|
---|
| 27 | # include <ext/hash_map>
|
---|
| 28 | # include <ext/hash_set>
|
---|
| 29 | #else
|
---|
| 30 | # include <hash_set>
|
---|
| 31 | # include <hash_map>
|
---|
| 32 | #endif
|
---|
| 33 |
|
---|
| 34 | // STL algorithms & functions
|
---|
| 35 | #include <algorithm>
|
---|
| 36 | #include <functional>
|
---|
| 37 | #include <limits>
|
---|
| 38 |
|
---|
| 39 | // C++ Stream stuff
|
---|
| 40 | #include <fstream>
|
---|
| 41 | #include <iostream>
|
---|
| 42 | #include <iomanip>
|
---|
| 43 | #include <sstream>
|
---|
| 44 |
|
---|
| 45 | #ifdef __BORLANDC__
|
---|
| 46 | namespace Ogre
|
---|
| 47 | {
|
---|
| 48 | using namespace std;
|
---|
| 49 | }
|
---|
| 50 | #endif
|
---|
| 51 |
|
---|
| 52 | extern "C" {
|
---|
| 53 |
|
---|
| 54 | # include <sys/types.h>
|
---|
| 55 | # include <sys/stat.h>
|
---|
| 56 |
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 | #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
|
---|
| 60 |
|
---|
| 61 | #undef min
|
---|
| 62 | #undef max
|
---|
| 63 |
|
---|
| 64 | #endif
|
---|
| 65 |
|
---|
| 66 | #if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
|
---|
| 67 | extern "C" {
|
---|
| 68 |
|
---|
| 69 | # include <unistd.h>
|
---|
| 70 | # include <dlfcn.h>
|
---|
| 71 |
|
---|
| 72 | }
|
---|
| 73 | #endif
|
---|
| 74 |
|
---|
| 75 | #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
---|
| 76 | extern "C" {
|
---|
| 77 | # include <unistd.h>
|
---|
| 78 | # include <sys/param.h>
|
---|
| 79 | # include <CoreFoundation/CoreFoundation.h>
|
---|
| 80 | }
|
---|
| 81 | #endif
|
---|
| 82 |
|
---|
| 83 | #if OGRE_THREAD_SUPPORT
|
---|
| 84 | # include <boost/thread/recursive_mutex.hpp>
|
---|
| 85 | #endif
|
---|
| 86 |
|
---|
| 87 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.