Update setup.hpp

This commit is contained in:
Tim R 2019-03-31 18:00:30 -07:00 committed by GitHub
parent fe6c08ea10
commit 2877c42a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,8 +295,10 @@
//
#if GLM_HAS_CONSTEXPR
# if (GLM_COMPILER & GLM_COMPILER_CLANG )
# if (GLM_COMPILER & GLM_COMPILER_CLANG)
# define GLM_HAS_IF_CONSTEXPR __has_feature(cxx_if_constexpr)
# elif (GLM_COMPILER & GLM_COMPILER_GCC)
# define GLM_HAS_IF_CONSTEXPR GLM_COMPILER >= GLM_COMPILER_GCC7
# elif GLM_LANG_CXX17_FLAG
# define GLM_HAS_IF_CONSTEXPR 1
# else