mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
check for __cpp_lib_filesystem
This commit is contained in:
parent
ae309ca632
commit
a93043f064
@ -15,7 +15,8 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
#if (!defined(_WIN32) && !TARGET_OS_SIMULATOR && (__cplusplus >= 201703L)) // C++ 17 or higher
|
#if (!defined(_WIN32) && !TARGET_OS_SIMULATOR && \
|
||||||
|
(__cplusplus >= 201703L) && defined(__cpp_lib_filesystem)) // C++ 17 or higher supporting filesystem
|
||||||
# define STD_FILESYSTEM 1
|
# define STD_FILESYSTEM 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user