Merge pull request #1090 from gottfriedleibniz/fix-neverinline

fix: GLM_NEVER_INLINE #1090
master
Christophe ago%!(EXTRA string=3 years) committed by GitHub
commit 1022fdf6d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/detail/setup.hpp

@ -434,7 +434,7 @@
#if defined(GLM_FORCE_INLINE) #if defined(GLM_FORCE_INLINE)
# if GLM_COMPILER & GLM_COMPILER_VC # if GLM_COMPILER & GLM_COMPILER_VC
# define GLM_INLINE __forceinline # 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) # elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
# define GLM_INLINE inline __attribute__((__always_inline__)) # define GLM_INLINE inline __attribute__((__always_inline__))
# define GLM_NEVER_INLINE __attribute__((__noinline__)) # define GLM_NEVER_INLINE __attribute__((__noinline__))

Loading…
Cancel
Save