From 137a7e2d89fbe52d9c52d53e3191439f412d3b97 Mon Sep 17 00:00:00 2001 From: christophe Date: Thu, 21 Dec 2023 14:23:29 +0100 Subject: [PATCH] Enable alignof C++11 and onwards instead of CXXMS #1093 --- glm/detail/setup.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 9c565ec64..8c1a13e72 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -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