Update setup.hpp
Enable 'if constexpr' when c++17
This commit is contained in:
parent
503a22960a
commit
658bbdb525
@ -289,6 +289,11 @@
|
|||||||
|
|
||||||
#if GLM_HAS_CONSTEXPR
|
#if GLM_HAS_CONSTEXPR
|
||||||
# define GLM_CONSTEXPR constexpr
|
# define GLM_CONSTEXPR constexpr
|
||||||
|
#if GLM_LANG_CXX17_FLAG
|
||||||
|
# define GLM_IF_CONSTEXPR constexpr
|
||||||
|
#else
|
||||||
|
# define GLM_IF_CONSTEXPR
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
# define GLM_CONSTEXPR
|
# define GLM_CONSTEXPR
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user