[ox/fs] Fix issues with PassthroughFS Boost port
This commit is contained in:
parent
845373e049
commit
ee9cdbe1e7
@ -6,7 +6,7 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if __has_include(<filesystem>) && defined(OX_USE_STDLIB)
|
#if OX_PASSTHROUGHFS_HAS_DEPENDENCIES && defined(OX_USE_STDLIB)
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
15
deps/ox/src/ox/fs/filesystem/passthroughfs.hpp
vendored
15
deps/ox/src/ox/fs/filesystem/passthroughfs.hpp
vendored
@ -13,12 +13,23 @@
|
|||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "filesystem.hpp"
|
#define OX_PASSTHROUGHFS_HAS_DEPENDENCIES
|
||||||
|
|
||||||
|
#elif defined(OX_USE_BOOSTFS)
|
||||||
|
|
||||||
|
#include <boost/filesystem>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#ifdef OX_USE_BOOSTFS
|
|
||||||
using std::filesystem = boost::filesystem;
|
using std::filesystem = boost::filesystem;
|
||||||
|
|
||||||
|
#define OX_PASSTHROUGHFS_HAS_DEPENDENCIES
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef OX_PASSTHROUGHFS_HAS_DEPENDENCIES
|
||||||
|
|
||||||
|
#include "filesystem.hpp"
|
||||||
|
|
||||||
namespace ox {
|
namespace ox {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user