mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
check for __cpp_lib_filesystem
This commit is contained in:
parent
ae309ca632
commit
a93043f064
|
@ -15,7 +15,8 @@
|
|||
#include <sstream>
|
||||
#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
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue