Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 14, 2009, 11:33:13 AM (15 years ago)
Author:
rgrieder
Message:

Fixed boost v1.36 build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/MemoryArchive.cc

    r5929 r5940  
    3333#include <OgreException.h>
    3434#include <boost/filesystem.hpp>
     35#include <boost/version.hpp>
     36
     37// Boost 1.36 has some issues with deprecated functions that have been omitted
     38#if (BOOST_VERSION == 103600)
     39#  define BOOST_HAS_BRANCH_PATH_FUNCTION has_parent_path
     40#else
     41#  define BOOST_HAS_BRANCH_PATH_FUNCTION has_branch_path
     42#endif
    3543
    3644namespace orxonox
     
    7179            if (file.empty())
    7280                continue;
    73             if (file.has_branch_path() && !bRecursive)
     81            if (file.BOOST_HAS_BRANCH_PATH_FUNCTION() && !bRecursive)
    7482                continue;
    7583            if (simpleList)
Note: See TracChangeset for help on using the changeset viewer.