include/begin_code.h
changeset 7032 305feca4f152
parent 7002 978ff4e06388
child 7054 9a9d05664124
     1.1 --- a/include/begin_code.h	Tue Mar 26 22:26:07 2013 -0700
     1.2 +++ b/include/begin_code.h	Fri Mar 29 21:13:16 2013 -0400
     1.3 @@ -130,7 +130,7 @@
     1.4  
     1.5  #if defined(_MSC_VER)
     1.6  #define SDL_FORCE_INLINE __forceinline
     1.7 -#elif defined(__GNUC__) || defined(__clang__)
     1.8 +#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
     1.9  #define SDL_FORCE_INLINE __attribute__((always_inline)) static inline
    1.10  #else
    1.11  #define SDL_FORCE_INLINE static __inline__