Enable alignof C++11 and onwards instead of CXXMS #1093

This commit is contained in:
christophe 2023-12-21 14:23:29 +01:00
parent 48516f31a7
commit 137a7e2d89

View File

@ -848,7 +848,7 @@ namespace detail
# define GLM_FORCE_ALIGNED_GENTYPES
#endif
#if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG) && (defined(GLM_FORCE_ALIGNED_GENTYPES) || (GLM_CONFIG_SIMD == GLM_ENABLE))
#if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXX11_FLAG) && (defined(GLM_FORCE_ALIGNED_GENTYPES) || (GLM_CONFIG_SIMD == GLM_ENABLE))
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_ENABLE
#else
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_DISABLE