Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 17, 2010, 1:13:52 AM (14 years ago)
Author:
landauf
Message:

fixed an issue with boost 1.44.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/CorePrereqs.h

    r6536 r7169  
    3737
    3838#include "OrxonoxConfig.h"
     39#include <boost/version.hpp>
    3940
    4041//-----------------------------------------------------------------------
     
    244245namespace boost
    245246{
     247#if (BOOST_VERSION < 104400)
    246248    namespace filesystem
    247249    {
     
    250252        typedef basic_path<std::string, path_traits> path;
    251253    }
     254#else
     255    namespace filesystem2
     256    {
     257        struct path_traits;
     258        template <class String, class Traits> class basic_path;
     259        typedef basic_path<std::string, path_traits> path;
     260    }
     261    namespace filesystem
     262    {
     263        using filesystem2::basic_path;
     264        using filesystem2::path_traits;
     265        using filesystem2::path;
     266    }
     267#endif
    252268    class thread;
    253269    class mutex;
Note: See TracChangeset for help on using the changeset viewer.