16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-01 08:09:19 +02:00

Enable GLM_FORCE_INLINE only for MSVC compiler

Fixes compilation under gcc 15
This commit is contained in:
2026-07-24 12:53:55 +02:00
committed by GitHub
parent 8383472bbe
commit 8399f55e53

View File

@@ -97,8 +97,8 @@
#define GLM_FORCE_SWIZZLE #define GLM_FORCE_SWIZZLE
#define GLM_ENABLE_EXPERIMENTAL #define GLM_ENABLE_EXPERIMENTAL
#define GLM_FORCE_CTOR_INIT #define GLM_FORCE_CTOR_INIT
#define GLM_FORCE_INLINE
#ifdef _MSC_VER #ifdef _MSC_VER
#define GLM_FORCE_INLINE
#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES #define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
#endif #endif
#define GLM_FORCE_INTRINSICS #define GLM_FORCE_INTRINSICS