Changeset View
Changeset View
Standalone View
Standalone View
source/lib/pch/pch_boost.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
// thus deemed usable: | // thus deemed usable: | ||||
#if BOOST_VERSION >= 104400 | #if BOOST_VERSION >= 104400 | ||||
// Filesystem v3 is included since Boost 1.44 | // Filesystem v3 is included since Boost 1.44 | ||||
// v2 is deprecated since 1.46 and removed entirely in 1.50 | // v2 is deprecated since 1.46 and removed entirely in 1.50 | ||||
# define BOOST_FILESYSTEM_VERSION 3 | # define BOOST_FILESYSTEM_VERSION 3 | ||||
#else | #else | ||||
# define BOOST_FILESYSTEM_VERSION 2 | # define BOOST_FILESYSTEM_VERSION 2 | ||||
#endif | #endif | ||||
#include <boost/filesystem.hpp> | |||||
namespace boost{ | |||||
namespace filesystem { | |||||
class path; | |||||
typedef path wpath; | |||||
}; | |||||
} | |||||
namespace fs = boost::filesystem; | namespace fs = boost::filesystem; | ||||
#endif // #ifndef INCLUDED_PCH_BOOST | #endif // #ifndef INCLUDED_PCH_BOOST |
Wildfire Games · Phabricator