Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7909 for code/forks


Ignore:
Timestamp:
Feb 17, 2011, 5:15:53 PM (13 years ago)
Author:
rgrieder
Message:

Added missing std includes to ogremath and removed boost thread and date_time dependencies.

Location:
code/forks/sandbox_light
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/forks/sandbox_light/cmake/LibraryConfig.cmake

    r7908 r7909  
    103103                              1.41 1.41.0 1.42 1.42.0 1.43 1.43.0 1.44 1.44.0)
    104104IF( NOT TARDIS )
    105   FIND_PACKAGE(Boost 1.35 REQUIRED thread filesystem system date_time)
     105  FIND_PACKAGE(Boost 1.35 REQUIRED filesystem system)
    106106ENDIF()
    107107# No auto linking, so this option is useless anyway
  • code/forks/sandbox_light/src/external/ogremath/OgrePrerequisites.h

    r7908 r7909  
    3131// Needed for OGRE_WCHAR_T_STRINGS below
    3232#include <string>
     33
     34#include <cassert>
     35#include <cstdio>
     36#include <cstdlib>
     37#include <ctime>
     38#include <cstring>
     39#include <cstdarg>
     40#include <cmath>
     41
     42// STL containers
     43#include <vector>
     44#include <map>
     45#include <string>
     46#include <set>
     47#include <list>
     48#include <deque>
     49#include <queue>
     50#include <bitset>
     51
     52// Note - not in the original STL, but exists in SGI STL and STLport
     53// For gcc 4.3 see http://gcc.gnu.org/gcc-4.3/changes.html
     54#if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)
     55#   if OGRE_COMP_VER >= 430
     56#       include <tr1/unordered_map>
     57#       include <tr1/unordered_set>
     58#   else
     59#       include <ext/hash_map>
     60#       include <ext/hash_set>
     61#   endif
     62#else
     63#   if (OGRE_COMPILER == OGRE_COMPILER_MSVC) && !defined(STLPORT) && OGRE_COMP_VER >= 1600 // VC++ 10.0
     64#       include <unordered_map>
     65#       include <unordered_set>
     66#       else
     67#       include <hash_set>
     68#       include <hash_map>
     69#       endif
     70#endif
     71
     72// STL algorithms & functions
     73#include <algorithm>
     74#include <functional>
     75#include <limits>
     76
     77// C++ Stream stuff
     78#include <fstream>
     79#include <iostream>
     80#include <iomanip>
     81#include <sstream>
    3382
    3483#if OGRE_COMPILER == OGRE_COMPILER_MSVC
Note: See TracChangeset for help on using the changeset viewer.