Use __cpp_lib_filesystem

This commit is contained in:
Michael 2019-07-29 21:44:14 +01:00
parent 3c2f7792c2
commit ee2dd0fb68
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

View File

@ -11,6 +11,9 @@
#if defined(LOKINET_USE_CPPBACKPORT)
#include <filesystem.h>
namespace fs = cpp17::filesystem;
#elif defined(__cpp_lib_filesystem)
#include <filesystem>
namespace fs = std::filesystem;
#else
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;