mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-28 23:21:04 +00:00
Fixed: Compile toml11 with MinGW cause error in <filesystem> #136
This commit is contained in:
parent
97c8cbdaf5
commit
f2d9fd1d1f
@ -13,12 +13,12 @@
|
||||
#include "types.hpp"
|
||||
#include "value.hpp"
|
||||
|
||||
#if (__cplusplus >= 201703L) && !defined(__MINGW32__) && !defined(__MINGW64__)
|
||||
#if (__cplusplus >= 201703L) || (__GNUC__ >= 9)
|
||||
#if __has_include(<filesystem>)
|
||||
#define TOML11_HAS_STD_FILESYSTEM
|
||||
#include <filesystem>
|
||||
#endif // has_include(<string_view>)
|
||||
#endif // (cplusplus >= C++17) && !mingw32 && !mingw64
|
||||
#endif // (cplusplus >= C++17) || (gcc >= 9)
|
||||
|
||||
namespace toml
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user