mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 15:23:53 +00:00
Fixed build
This commit is contained in:
parent
a5fd70aed8
commit
2bd4217685
1 changed files with 6 additions and 2 deletions
|
@ -294,8 +294,12 @@
|
|||
|
||||
//
|
||||
#if GLM_HAS_CONSTEXPR
|
||||
# if (GLM_COMPILER & GLM_COMPILER_CLANG) && __has_feature(cxx_if_constexpr)
|
||||
# define GLM_HAS_IF_CONSTEXPR 1
|
||||
# if (GLM_COMPILER & GLM_COMPILER_CLANG)
|
||||
# if __has_feature(cxx_if_constexpr)
|
||||
# define GLM_HAS_IF_CONSTEXPR 1
|
||||
# else
|
||||
# define GLM_HAS_IF_CONSTEXPR 0
|
||||
# endif
|
||||
# elif (GLM_LANG & GLM_LANG_CXX17_FLAG)
|
||||
# define GLM_HAS_IF_CONSTEXPR 1
|
||||
# else
|
||||
|
|
Loading…
Add table
Reference in a new issue