Browse Source

rollback

pull/2101/head
orignal 4 months ago
parent
commit
5cc15fac31
  1. 1
      Makefile.mingw
  2. 9
      libi2pd/FS.h

1
Makefile.mingw

@ -18,6 +18,7 @@ endif @@ -18,6 +18,7 @@ endif
LDLIBS += \
$(MINGW_PREFIX)/lib/libboost_system-mt.a \
$(MINGW_PREFIX)/lib/libboost_filesystem-mt.a \
$(MINGW_PREFIX)/lib/libboost_program_options-mt.a \
$(MINGW_PREFIX)/lib/libssl.a \
$(MINGW_PREFIX)/lib/libcrypto.a \

9
libi2pd/FS.h

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

Loading…
Cancel
Save