Update setup.hpp

master
Tim R ago%!(EXTRA string=6 years) committed by GitHub
parent b0f6910f0c
commit 94f685c111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      glm/detail/setup.hpp

@ -297,14 +297,14 @@
#if GLM_HAS_CONSTEXPR #if GLM_HAS_CONSTEXPR
# if (GLM_COMPILER & GLM_COMPILER_CLANG ) # if (GLM_COMPILER & GLM_COMPILER_CLANG )
# if __has_feature(cxx_if_constexpr) # if __has_feature(cxx_if_constexpr)
# define GLM_IF_CONSTEXPR constexpr # define GLM_IF_CONSTEXPR if constexpr
# else # else
# define GLM_IF_CONSTEXPR # define GLM_IF_CONSTEXPR if
# endif # endif
# elif GLM_LANG_CXX17_FLAG # elif GLM_LANG_CXX17_FLAG
# define GLM_IF_CONSTEXPR constexpr # define GLM_IF_CONSTEXPR if constexpr
# else # else
# define GLM_IF_CONSTEXPR # define GLM_IF_CONSTEXPR if
#endif #endif
// //

Loading…
Cancel
Save