Fixed Visual C++ 2015 constexpr errors: Disabled only partial support

This commit is contained in:
Christophe Riccio
2015-01-25 21:06:07 +01:00
parent 4eec569f92
commit 387f931feb
2 changed files with 3 additions and 3 deletions

View File

@@ -539,8 +539,7 @@
# define GLM_HAS_CONSTEXPR 1
#else
# define GLM_HAS_CONSTEXPR (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC46)) || \
((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2015)))
((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC46)))
#endif
// N2672