mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
Fixed: Compile toml11 with MinGW cause error in <filesystem> #136
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
#include "types.hpp"
|
||||
#include "value.hpp"
|
||||
|
||||
#if (__cplusplus >= 201703L) || (__GNUC__ >= 9)
|
||||
#if (__GNUC__ >= 9) || (!defined(__GNUC__) && (__cplusplus >= 201703L))
|
||||
#if __has_include(<filesystem>)
|
||||
#define TOML11_HAS_STD_FILESYSTEM
|
||||
#include <filesystem>
|
||||
#endif // has_include(<string_view>)
|
||||
#endif // (cplusplus >= C++17) || (gcc >= 9)
|
||||
#endif // (gcc >= 9) || (!gcc && (cplusplus >= C++17))
|
||||
|
||||
namespace toml
|
||||
{
|
||||
|
Reference in New Issue
Block a user