mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-25 22:00:05 +00:00
Merge pull request #136 from chronoxor/master
Fixed: Compile toml11 with MinGW cause error in <filesystem> #135
This commit is contained in:
commit
4f31b90665
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user