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

This commit is contained in:
Giovanni Cerretani authored and GitHub committed 2022-01-03 13:57:51 +01:00
1 parent cc59ab122f
commit 78ddf2bcf8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@
#endif
// 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_EXPERIMENTAL_FILESYSTEM
#endif