# OgreStdHeaders.h

Go to the documentation of this file.

    00001 #ifndef __StdHeaders_H__
    00002 #define __StdHeaders_H__
    00003
    00004 #ifdef __BORLANDC__
    00005     #define __STD_ALGORITHM
    00006 #endif
    00007
    00008 #include <cassert>
    00009 #include <cstdio>
    00010 #include <cstdlib>
    00011 #include <ctime>
    00012 #include <cstring>
    00013 #include <cstdarg>
    00014 #include <cmath>
    00015
    00016 // STL containers
    00017 #include <vector>
    00018 #include <map>
    00019 #include <string>
    00020 #include <set>
    00021 #include <list>
    00022 #include <deque>
    00023 #include <queue>
    00024
    00025 // Note - not in the original STL, but exists in SGI STL and STLport
    00026 #ifdef EXT_HASH
    00027 #   include <ext/hash_map>
    00028 #   include <ext/hash_set>
    00029 #else
    00030 #   include <hash_set>
    00031 #   include <hash_map>
    00032 #endif
    00033
    00034 // STL algorithms & functions
    00035 #include <algorithm>
    00036 #include <functional>
    00037 #include <limits>
    00038
    00039 // C++ Stream stuff
    00040 #include <fstream>
    00041 #include <iostream>
    00042 #include <iomanip>
    00043 #include <sstream>
    00044
    00045 #ifdef __BORLANDC__
    00046 namespace Ogre
    00047 {
    00048     using namespace std;
    00049 }
    00050 #endif
    00051
    00052 extern "C" {
    00053
    00054 #   include <sys/types.h>
    00055 #   include <sys/stat.h>
    00056
    00057 }
    00058
    00059 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    00060
    00061 #undef min
    00062 #undef max
    00063
    00064 #endif
    00065
    00066 #if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
    00067 extern "C" {
    00068
    00069 #   include <unistd.h>
    00070 #   include <dlfcn.h>
    00071
    00072 }
    00073 #endif
    00074
    00075 #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
    00076 extern "C" {
    00077 #   include <unistd.h>
    00078 #   include <sys/param.h>
    00079 #   include <CoreFoundation/CoreFoundation.h>
    00080 }
    00081 #endif
    00082
    00083 #if OGRE_THREAD_SUPPORT
    00084 #   include <boost/thread/recursive_mutex.hpp>
    00085 #endif
    00086
    00087 #endif

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 12:59:53 2006