mirror of
https://github.com/g-truc/glm.git
synced 2024-11-25 18:04:34 +00:00
Enable alignof C++11 and onwards instead of CXXMS #1093
This commit is contained in:
parent
48516f31a7
commit
137a7e2d89
@ -848,7 +848,7 @@ namespace detail
|
|||||||
# define GLM_FORCE_ALIGNED_GENTYPES
|
# define GLM_FORCE_ALIGNED_GENTYPES
|
||||||
#endif
|
#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
|
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_ENABLE
|
||||||
#else
|
#else
|
||||||
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_DISABLE
|
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_DISABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user