mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-09 15:50:26 +03:00
innclude <filesystem> before _cpp_lib_filesystem check
This commit is contained in:
parent
2679e8cfd8
commit
8189ff0f48
@ -15,10 +15,14 @@
|
||||
#include <sstream>
|
||||
#include <functional>
|
||||
|
||||
#if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && \
|
||||
(__cplusplus >= 201703L) && defined(__cpp_lib_filesystem)) // C++ 17 or higher supporting filesystem
|
||||
#ifndef STD_FILESYSTEM
|
||||
#include <filesystem>
|
||||
#if __cplusplus >= 201703L // C++ 17 or higher
|
||||
#if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && defined(__cpp_lib_filesystem)) // supports std::filesystem
|
||||
# define STD_FILESYSTEM 1
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace i2p {
|
||||
namespace fs {
|
||||
|
Loading…
Reference in New Issue
Block a user