Changeset 8066 for code/branches/kicklib/src/libraries/core/PathConfig.cc
- Timestamp:
- Mar 12, 2011, 11:54:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/libraries/core/PathConfig.cc
r8058 r8066 59 59 #if (BOOST_VERSION == 103600) 60 60 # define BOOST_LEAF_FUNCTION filename 61 #elif (BOOST_FILESYSTEM_VERSION < 3) 62 # define BOOST_LEAF_FUNCTION leaf 61 63 #else 62 # define BOOST_LEAF_FUNCTION leaf64 # define BOOST_LEAF_FUNCTION path().filename().string 63 65 #endif 64 66 … … 282 284 // We've found a helper file 283 285 const std::string& library = filename.substr(0, filename.size() - moduleextensionlength); 286 #if BOOST_FILESYSTEM_VERSION < 3 284 287 modulePaths.push_back((modulePath_ / library).file_string()); 288 #else 289 modulePaths.push_back((modulePath_ / library).string()); 290 #endif 285 291 } 286 292 }
Note: See TracChangeset
for help on using the changeset viewer.