diff --git a/toml/parser.hpp b/toml/parser.hpp index a1fa318..c3df644 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -13,12 +13,14 @@ #include "types.hpp" #include "value.hpp" +#ifndef TOML11_DISABLE_STD_FILESYSTEM #ifdef __cpp_lib_filesystem #if __has_include() #define TOML11_HAS_STD_FILESYSTEM #include #endif // has_include() #endif // __cpp_lib_filesystem +#endif // TOML11_DISABLE_STD_FILESYSTEM namespace toml {