From 87350f809bf4085bdbb9081f93db7bec9750dfb7 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Sat, 6 Apr 2024 14:11:46 +0300 Subject: [PATCH] msvc bug: dont align types due to "ARM32 = C2719: formal parameter with requested alignment of 16 won't be aligned." on ARM32/MSVC until a good solution. --- include/cglm/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/types.h b/include/cglm/types.h index 65391cd..ce460b7 100644 --- a/include/cglm/types.h +++ b/include/cglm/types.h @@ -14,7 +14,7 @@ #if defined(_MSC_VER) /* do not use alignment for older visual studio versions */ -# if _MSC_VER < 1913 /* Visual Studio 2017 version 15.6 */ +# if _MSC_VER < 1913 || _M_ARM /* Visual Studio 2017 version 15.6 */ # define CGLM_ALL_UNALIGNED # define CGLM_ALIGN(X) /* no alignment */ # else