source: nrEngine/include/StdHeaders.h @ 1

Revision 1, 2.3 KB checked in by art, 13 years ago (diff)
Line 
1/***************************************************************************
2 *                                                                         *
3 *   (c) Art Tevs, MPI Informatik Saarbruecken                             *
4 *       mailto: <tevs@mpi-sb.mpg.de>                                      *
5 *                                                                         *
6 *   This program is free software; you can redistribute it and/or modify  *
7 *   it under the terms of the GNU General Public License as published by  *
8 *   the Free Software Foundation; either version 2 of the License, or     *
9 *   (at your option) any later version.                                   *
10 *                                                                         *
11 ***************************************************************************/
12
13#ifndef __NR_STD_HEADERS_H_
14#define __NR_STD_HEADERS_H_
15
16#ifdef __BORLANDC__
17    #define __STD_ALGORITHM
18#endif
19
20// default system headers
21#include <ctime>
22#include <cstdarg>
23
24// STL Library
25#include <vector>
26#include <map>
27#include <string>
28#include <set>
29#include <list>
30#include <deque>
31#include <queue>
32
33#if 0
34// Hash Map if it is exists
35#ifdef EXT_HASH
36#       include <ext/hash_map>
37#       include <ext/hash_set>
38#else
39#       include <hash_set>
40#       include <hash_map>
41#endif
42
43#ifndef HashMap
44        #ifdef GCC_3_1
45        #   define HashMap __gnu_cxx::hash_map
46        #else
47        #   if NR_COMPILER == COMPILER_MSVC
48        #       if NR_COMP_VER > 1300 && !defined(_STLP_MSVC)
49        #           define HashMap stdext::hash_map
50        #       else
51        #           define HashMap std::hash_map
52        #       endif
53        #   else
54        #       define HashMap std::hash_map
55        #   endif
56        #endif
57#endif
58#endif 
59
60// Streaming
61#include <fstream>
62#include <iostream>
63#include <sstream>
64
65// boost stuff
66#include <boost/scoped_ptr.hpp>
67#include <boost/shared_ptr.hpp>
68#include <boost/lexical_cast.hpp>
69#include <boost/shared_array.hpp>
70#include <boost/function.hpp>
71#include <boost/any.hpp>
72
73
74// load default libraries for linux using
75#if NR_PLATFORM == NR_PLATFORM_LINUX
76extern "C" {
77#   include <unistd.h>
78#   include <dlfcn.h>
79};
80#endif
81
82// some default headers for mac systems
83#if NR_PLATFORM == NR_PLATFORM_APPLE
84extern "C" {
85#   include <unistd.h>
86#   include <sys/param.h>
87#   include <CoreFoundation/CoreFoundation.h>
88};
89#endif
90
91#endif
Note: See TracBrowser for help on using the repository browser.