Merge pull request #1090 from gottfriedleibniz/fix-neverinline

fix: GLM_NEVER_INLINE #1090
This commit is contained in:
Christophe 2022-04-20 12:28:19 +02:00 committed by GitHub
commit 1022fdf6d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,7 +434,7 @@
#if defined(GLM_FORCE_INLINE)
# if GLM_COMPILER & GLM_COMPILER_VC
# define GLM_INLINE __forceinline
# define GLM_NEVER_INLINE __declspec((noinline))
# define GLM_NEVER_INLINE __declspec(noinline)
# elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
# define GLM_INLINE inline __attribute__((__always_inline__))
# define GLM_NEVER_INLINE __attribute__((__noinline__))