Merge pull request #136 from chronoxor/master

Fixed: Compile toml11 with MinGW cause error in <filesystem> #135
This commit is contained in:
Toru Niina 2020-10-04 18:53:34 +09:00 committed by GitHub
commit 4f31b90665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,12 @@
#include "types.hpp"
#include "value.hpp"
#if __cplusplus >= 201703L
#ifdef __cpp_lib_filesystem
#if __has_include(<filesystem>)
#define TOML11_HAS_STD_FILESYSTEM
#include <filesystem>
#endif // has_include(<string_view>)
#endif // cplusplus >= C++17
#endif // __cpp_lib_filesystem
namespace toml
{