- Timestamp:
- Apr 10, 2011, 9:03:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/src/libraries/core/GraphicsManager.cc
r8129 r8225 61 61 #include "command/ConsoleCommand.h" 62 62 63 // Differentiate Boost Filesystem v2 and v3 64 #if (BOOST_FILESYSTEM_VERSION < 3) 65 # define BF_NATIVE_STRING file_string 66 #else 67 # define BF_NATIVE_STRING string 68 #endif 69 63 70 namespace orxonox 64 71 { … … 243 250 // Use backslash paths on Windows! file_string() already does that though. 244 251 for (unsigned int i = 0; i < plugins.size(); ++i) 245 #if BOOST_FILESYSTEM_VERSION < 3 246 ogreRoot_->loadPlugin((folder / plugins[i]).file_string()); 247 #else 248 ogreRoot_->loadPlugin((folder / plugins[i]).string()); 249 #endif 252 ogreRoot_->loadPlugin((folder / plugins[i]).BF_NATIVE_STRING()); 250 253 } 251 254
Note: See TracChangeset
for help on using the changeset viewer.