mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
rollback
This commit is contained in:
parent
ea3f356856
commit
5cc15fac31
@ -18,6 +18,7 @@ endif
|
|||||||
|
|
||||||
LDLIBS += \
|
LDLIBS += \
|
||||||
$(MINGW_PREFIX)/lib/libboost_system-mt.a \
|
$(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/libboost_program_options-mt.a \
|
||||||
$(MINGW_PREFIX)/lib/libssl.a \
|
$(MINGW_PREFIX)/lib/libssl.a \
|
||||||
$(MINGW_PREFIX)/lib/libcrypto.a \
|
$(MINGW_PREFIX)/lib/libcrypto.a \
|
||||||
|
@ -16,12 +16,13 @@
|
|||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
#ifndef STD_FILESYSTEM
|
#ifndef STD_FILESYSTEM
|
||||||
#if __cplusplus >= 201703L // C++ 17 or higher
|
#if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && \
|
||||||
#include <filesystem>
|
(__cplusplus >= 201703L) && defined(__cpp_lib_filesystem)) // C++ 17 or higher supporting std::filesystem
|
||||||
#if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && defined(__cpp_lib_filesystem)) // supports std::filesystem
|
|
||||||
# define STD_FILESYSTEM 1
|
# define STD_FILESYSTEM 1
|
||||||
|
#else
|
||||||
|
# define STD_FILESYSTEM 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace i2p {
|
namespace i2p {
|
||||||
|
Loading…
Reference in New Issue
Block a user