Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!)

Fixes Bugzilla #1770.
This commit is contained in:
Ryan C. Gordon 2013-03-29 21:13:16 -04:00
parent f36b6b53ef
commit b7b75855ec

View file

@ -130,7 +130,7 @@
#if defined(_MSC_VER)
#define SDL_FORCE_INLINE __forceinline
#elif defined(__GNUC__) || defined(__clang__)
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
#define SDL_FORCE_INLINE __attribute__((always_inline)) static inline
#else
#define SDL_FORCE_INLINE static __inline__