mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Update setup.hpp
This commit is contained in:
parent
fe6c08ea10
commit
2877c42a36
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user