|
|
@ -17,12 +17,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STD_FILESYSTEM |
|
|
|
#ifndef STD_FILESYSTEM |
|
|
|
# if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && \ |
|
|
|
# if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && \ |
|
|
|
(__cplusplus >= 201703L) && defined(__cpp_lib_filesystem)) // C++ 17 or higher supporting std::filesystem
|
|
|
|
(__cplusplus >= 201703L) && __has_include(<filesystem>)) // C++ 17 or higher and supports std::filesystem
|
|
|
|
# define STD_FILESYSTEM 1 |
|
|
|
# define STD_FILESYSTEM 1 |
|
|
|
# else |
|
|
|
# else |
|
|
|
# define STD_FILESYSTEM 0 |
|
|
|
# define STD_FILESYSTEM 0 |
|
|
|
# endif |
|
|
|
# endif |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
namespace i2p { |
|
|
|
namespace i2p { |
|
|
|