Changeset 1359

Show
Ignore:
Timestamp:
02/18/08 17:10:15 (9 months ago)
Author:
timdewhirst
Message:

ool
- fix for building 1.5 against boost 1_33_1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/openobjectlib/sg/appearance.cpp

    r1347 r1359  
    1010#include <boost/filesystem/exception.hpp> 
    1111#include <boost/filesystem/operations.hpp> 
     12#include <boost/version.hpp> 
    1213 
    1314#include <openpluginlib/pl/GL_utility.hpp> 
     
    5455        { 
    5556                typedef opl::m_url::const_iterator const_iterator; 
    56                  
     57 
     58#if BOOST_VERSION > 103301               
    5759                const_iterator I = std::find_if( m.begin( ), m.end( ), fs::exists<fs::path> ); 
     60#else 
     61                const_iterator I = std::find_if( m.begin( ), m.end( ), fs::exists ); 
     62#endif 
     63 
    5864                if( I != m.end( ) ) 
    5965                {