# 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 #include <bitset>
    00025
    00026 // Note - not in the original STL, but exists in SGI STL and STLport
    00027 #if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)
    00028 #   include <ext/hash_map>
    00029 #   include <ext/hash_set>
    00030 #else
    00031 #   include <hash_set>
    00032 #   include <hash_map>
    00033 #endif
    00034
    00035 // STL algorithms & functions
    00036 #include <algorithm>
    00037 #include <functional>
    00038 #include <limits>
    00039
    00040 // C++ Stream stuff
    00041 #include <fstream>
    00042 #include <iostream>
    00043 #include <iomanip>
    00044 #include <sstream>
    00045
    00046 #ifdef __BORLANDC__
    00047 namespace Ogre
    00048 {
    00049     using namespace std;
    00050 }
    00051 #endif
    00052
    00053 extern "C" {
    00054
    00055 #   include <sys/types.h>
    00056 #   include <sys/stat.h>
    00057
    00058 }
    00059
    00060 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    00061 #  undef min
    00062 #  undef max
    00063 #  if defined( __MINGW32__ )
    00064 #    include <unistd.h>
    00065 #  endif
    00066 #endif
    00067
    00068 #if OGRE_PLATFORM == OGRE_PLATFORM_LINUX
    00069 extern "C" {
    00070
    00071 #   include <unistd.h>
    00072 #   include <dlfcn.h>
    00073
    00074 }
    00075 #endif
    00076
    00077 #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
    00078 extern "C" {
    00079 #   include <unistd.h>
    00080 #   include <sys/param.h>
    00081 #   include <CoreFoundation/CoreFoundation.h>
    00082 }
    00083 #endif
    00084
    00085 #if OGRE_THREAD_SUPPORT
    00086 #   include <boost/thread/recursive_mutex.hpp>
    00087 #endif
    00088
    00089 #endif

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