Skip to content

Commit

Permalink
Enable alignof C++11 and onwards instead of CXXMS #1093
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe committed Dec 21, 2023
1 parent 48516f3 commit 137a7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/detail/setup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 137a7e2

Please sign in to comment.