Skip to content

Commit

Permalink
Fix msvc c++17 check
Browse files Browse the repository at this point in the history
  • Loading branch information
jessey-git committed Apr 25, 2018
1 parent df19bdd commit 929ce72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fx/gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <nlohmann/json.hpp>

#if (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_MSC_VER) && _MSC_VER >= 1911)
#if (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_HAS_CXX17) && _HAS_CXX17 == 1)
#define FX_GLTF_HAS_CPP_17
#include <string_view>
#endif
Expand Down

0 comments on commit 929ce72

Please sign in to comment.