00001 #include "osl/misc/filePath.h" 00002 00003 #ifndef MINIMAL 00004 00005 std::string osl::misc:: 00006 file_string(const boost::filesystem::path& path) 00007 { 00008 #if BOOST_FILESYSTEM_VERSION >=3 00009 return path.string(); 00010 #else 00011 return path.file_string(); 00012 #endif 00013 } 00014 00015 #endif /* MINIMAL */ 00016 // ;;; Local Variables: 00017 // ;;; mode:c++ 00018 // ;;; c-basic-offset:2 00019 // ;;; End: