Unverified Commit 78ddf2bc authored by Giovanni Cerretani's avatar Giovanni Cerretani Committed by GitHub

fix _MSC_VER version to check for std::filesystem (#3240)

parent cc59ab12
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
#endif #endif
// no filesystem support before MSVC 19.14: https://en.cppreference.com/w/cpp/compiler_support // no filesystem support before MSVC 19.14: https://en.cppreference.com/w/cpp/compiler_support
#if defined(_MSC_VER) && _MSC_VER < 1940 #if defined(_MSC_VER) && _MSC_VER < 1914
#undef JSON_HAS_FILESYSTEM #undef JSON_HAS_FILESYSTEM
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
#endif #endif
......
...@@ -2367,7 +2367,7 @@ using is_detected_convertible = ...@@ -2367,7 +2367,7 @@ using is_detected_convertible =
#endif #endif
// no filesystem support before MSVC 19.14: https://en.cppreference.com/w/cpp/compiler_support // no filesystem support before MSVC 19.14: https://en.cppreference.com/w/cpp/compiler_support
#if defined(_MSC_VER) && _MSC_VER < 1940 #if defined(_MSC_VER) && _MSC_VER < 1914
#undef JSON_HAS_FILESYSTEM #undef JSON_HAS_FILESYSTEM
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment