fea:添加支持自定义使用boost::filesystem开关。
This commit is contained in:
parent
1e83e393eb
commit
8b2905dadc
@ -1,8 +1,15 @@
|
||||
#include "of_path.h"
|
||||
#include "of_str.h"
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
|
||||
#ifdef USE_BOOST_FILESYSTEM
|
||||
#include <boost/filesystem.hpp>
|
||||
namespace fs = boost::filesystem;
|
||||
#else
|
||||
#include <filesystem>
|
||||
namespace fs = std::filesystem;
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#elif defined(__clang__) && defined(__APPLE__)
|
||||
@ -16,7 +23,6 @@
|
||||
#define PATH_MAX 256
|
||||
#endif
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
namespace ofen {
|
||||
COfPath::COfPath()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user