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 85198ba1f3
commit a9eb1f14ea

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__