From 8399f55e5364d920d4991e6ae4434071e08014f7 Mon Sep 17 00:00:00 2001 From: Hirek193 Date: Fri, 24 Jul 2026 12:53:55 +0200 Subject: [PATCH] Enable GLM_FORCE_INLINE only for MSVC compiler Fixes compilation under gcc 15 --- stdafx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdafx.h b/stdafx.h index 19a374e7..b1e94b51 100644 --- a/stdafx.h +++ b/stdafx.h @@ -97,8 +97,8 @@ #define GLM_FORCE_SWIZZLE #define GLM_ENABLE_EXPERIMENTAL #define GLM_FORCE_CTOR_INIT -#define GLM_FORCE_INLINE #ifdef _MSC_VER +#define GLM_FORCE_INLINE #define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES #endif #define GLM_FORCE_INTRINSICS @@ -132,4 +132,4 @@ using packed_vec3 = glm::vec<3, float, glm::packed_highp>; #include "utilities/crashreporter.h" -#endif \ No newline at end of file +#endif