mirror of
https://github.com/nlohmann/json.git
synced 2026-03-01 06:46:24 +00:00
Fix for _HAS_CXX17 == 0
Copied from solution to https://github.com/nlohmann/json/issues/464
This commit is contained in:
@@ -110,7 +110,7 @@ SOFTWARE.
|
||||
#endif
|
||||
|
||||
// string_view support
|
||||
#if defined(_MSC_VER) && defined(_HAS_CXX17)
|
||||
#if defined(_MSC_VER) && defined(_HAS_CXX17) && _HAS_CXX17 == 1
|
||||
#define JSON_USE_STRING_VIEW
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user