# 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 #if defined ( OGRE_GCC_VISIBILITY )
    00009 /* Until libstdc++ for gcc 4.2 is released, we have to declare all
    00010  * symbols in libstdc++.so externally visible, otherwise we end up
    00011  * with them marked as hidden by -fvisible=hidden.
    00012  *
    00013  * See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20218
    00014  */
    00015 #   pragma GCC visibility push(default)
    00016 #endif
    00017
    00018 #include <cassert>
    00019 #include <cstdio>
    00020 #include <cstdlib>
    00021 #include <ctime>
    00022 #include <cstring>
    00023 #include <cstdarg>
    00024 #include <cmath>
    00025
    00026 // STL containers
    00027 #include <vector>
    00028 #include <map>
    00029 #include <string>
    00030 #include <set>
    00031 #include <list>
    00032 #include <deque>
    00033 #include <queue>
    00034 #include <bitset>
    00035
    00036 // Note - not in the original STL, but exists in SGI STL and STLport
    00037 #if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)
    00038 #   include <ext/hash_map>
    00039 #   include <ext/hash_set>
    00040 #else
    00041 #   include <hash_set>
    00042 #   include <hash_map>
    00043 #endif
    00044
    00045 // STL algorithms & functions
    00046 #include <algorithm>
    00047 #include <functional>
    00048 #include <limits>
    00049
    00050 // C++ Stream stuff
    00051 #include <fstream>
    00052 #include <iostream>
    00053 #include <iomanip>
    00054 #include <sstream>
    00055
    00056 #ifdef __BORLANDC__
    00057 namespace Ogre
    00058 {
    00059     using namespace std;
    00060 }
    00061 #endif
    00062
    00063 extern "C" {
    00064
    00065 #   include <sys/types.h>
    00066 #   include <sys/stat.h>
    00067
    00068 }
    00069
    00070 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    00071 #  undef min
    00072 #  undef max
    00073 #  if defined( __MINGW32__ )
    00074 #    include <unistd.h>
    00075 #  endif
    00076 #endif
    00077
    00078 #if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
    00079 extern "C" {
    00080
    00081 #   include <unistd.h>
    00082 #   include <dlfcn.h>
    00083
    00084 }
    00085 #endif
    00086
    00087 #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
    00088 extern "C" {
    00089 #   include <unistd.h>
    00090 #   include <sys/param.h>
    00091 #   include <CoreFoundation/CoreFoundation.h>
    00092 }
    00093 #endif
    00094
    00095 #if OGRE_THREAD_SUPPORT
    00096 #   include <boost/thread/recursive_mutex.hpp>
    00097 #endif
    00098
    00099 #if defined ( OGRE_GCC_VISIBILITY )
    00100 #   pragma GCC visibility pop
    00101 #endif
    00102 #endif

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat May 10 16:25:04 2008