Browse Source

removed dependency from boost::filesystem

pull/2101/head
orignal 3 months ago
parent
commit
ea3f356856
  1. 2
      libi2pd/FS.h

2
libi2pd/FS.h

@ -16,8 +16,8 @@
#include <functional> #include <functional>
#ifndef STD_FILESYSTEM #ifndef STD_FILESYSTEM
#include <filesystem>
#if __cplusplus >= 201703L // C++ 17 or higher #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 && defined(__cpp_lib_filesystem)) // supports std::filesystem
# define STD_FILESYSTEM 1 # define STD_FILESYSTEM 1
#endif #endif

Loading…
Cancel
Save