Clang detection for GLM_INLINE

This commit is contained in:
Christophe Riccio 2013-02-20 15:46:10 +01:00
parent c868666c79
commit efcecbd81a
2 changed files with 20 additions and 18 deletions

View File

@ -704,6 +704,8 @@
# define GLM_INLINE __forceinline
# elif((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC34))
# define GLM_INLINE __attribute__((always_inline))
# elif(GLM_COMPILER & GLM_COMPILER_CLANG)
# define GLM_INLINE __attribute__((always_inline))
# else
# define GLM_INLINE inline
# endif//GLM_COMPILER