Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!)
Fixes Bugzilla #1770.
This commit is contained in:
parent
f36b6b53ef
commit
b7b75855ec
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define SDL_FORCE_INLINE __forceinline
|
#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
|
#define SDL_FORCE_INLINE __attribute__((always_inline)) static inline
|
||||||
#else
|
#else
|
||||||
#define SDL_FORCE_INLINE static __inline__
|
#define SDL_FORCE_INLINE static __inline__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue