mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Fixed test against GLM_COMPILER_GCC31 and GLM_COMPILER_VC2005 that doesn't exist in GLM 0.9.5 #111
This commit is contained in:
parent
98a277d6af
commit
804078f690
@ -625,7 +625,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if(defined(GLM_FORCE_INLINE))
|
#if(defined(GLM_FORCE_INLINE))
|
||||||
# if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
|
# if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC8))
|
||||||
# define GLM_INLINE __forceinline
|
# define GLM_INLINE __forceinline
|
||||||
# elif((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC34))
|
# elif((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC34))
|
||||||
# define GLM_INLINE __attribute__((always_inline))
|
# define GLM_INLINE __attribute__((always_inline))
|
||||||
@ -658,7 +658,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Qualifiers
|
// Qualifiers
|
||||||
|
|
||||||
#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
|
#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC8))
|
||||||
# define GLM_DEPRECATED __declspec(deprecated)
|
# define GLM_DEPRECATED __declspec(deprecated)
|
||||||
# define GLM_ALIGN(x) __declspec(align(x))
|
# define GLM_ALIGN(x) __declspec(align(x))
|
||||||
# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct
|
# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct
|
||||||
@ -676,13 +676,6 @@
|
|||||||
# define GLM_DEPRECATED __attribute__((__deprecated__))
|
# define GLM_DEPRECATED __attribute__((__deprecated__))
|
||||||
# define GLM_ALIGN(x) __attribute__((aligned(x)))
|
# define GLM_ALIGN(x) __attribute__((aligned(x)))
|
||||||
# define GLM_ALIGNED_STRUCT(x) struct __attribute__((aligned(x)))
|
# define GLM_ALIGNED_STRUCT(x) struct __attribute__((aligned(x)))
|
||||||
# if(GLM_COMPILER >= GLM_COMPILER_GCC33)
|
|
||||||
# define GLM_RESTRICT __restrict__
|
|
||||||
# define GLM_RESTRICT_VAR __restrict__
|
|
||||||
# else
|
|
||||||
# define GLM_RESTRICT
|
|
||||||
# define GLM_RESTRICT_VAR
|
|
||||||
# endif
|
|
||||||
# define GLM_RESTRICT __restrict__
|
# define GLM_RESTRICT __restrict__
|
||||||
# define GLM_RESTRICT_VAR __restrict__
|
# define GLM_RESTRICT_VAR __restrict__
|
||||||
# if((GLM_COMPILER >= GLM_COMPILER_GCC47) && ((GLM_LANG & GLM_LANG_CXX0X) == GLM_LANG_CXX0X))
|
# if((GLM_COMPILER >= GLM_COMPILER_GCC47) && ((GLM_LANG & GLM_LANG_CXX0X) == GLM_LANG_CXX0X))
|
||||||
|
@ -24,7 +24,7 @@ namespace detail
|
|||||||
|
|
||||||
va_start(list, msg);
|
va_start(list, msg);
|
||||||
|
|
||||||
#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
|
#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC8))
|
||||||
vsprintf_s(text, STRING_BUFFER, msg, list);
|
vsprintf_s(text, STRING_BUFFER, msg, list);
|
||||||
#else//
|
#else//
|
||||||
vsprintf(text, msg, list);
|
vsprintf(text, msg, list);
|
||||||
|
Loading…
Reference in New Issue
Block a user