mirror of
https://github.com/g-truc/glm.git
synced 2025-04-11 07:46:36 +00:00
Update setup.hpp
This commit is contained in:
parent
b0f6910f0c
commit
94f685c111
1 changed files with 4 additions and 4 deletions
|
@ -297,14 +297,14 @@
|
|||
#if GLM_HAS_CONSTEXPR
|
||||
# if (GLM_COMPILER & GLM_COMPILER_CLANG )
|
||||
# if __has_feature(cxx_if_constexpr)
|
||||
# define GLM_IF_CONSTEXPR constexpr
|
||||
# define GLM_IF_CONSTEXPR if constexpr
|
||||
# else
|
||||
# define GLM_IF_CONSTEXPR
|
||||
# define GLM_IF_CONSTEXPR if
|
||||
# endif
|
||||
# elif GLM_LANG_CXX17_FLAG
|
||||
# define GLM_IF_CONSTEXPR constexpr
|
||||
# define GLM_IF_CONSTEXPR if constexpr
|
||||
# else
|
||||
# define GLM_IF_CONSTEXPR
|
||||
# define GLM_IF_CONSTEXPR if
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue