|
@@ -431,7 +431,7 @@
|
|
#endif /* SDL_INLINE not defined */
|
|
#endif /* SDL_INLINE not defined */
|
|
|
|
|
|
#ifndef SDL_FORCE_INLINE
|
|
#ifndef SDL_FORCE_INLINE
|
|
-#ifdef _MSC_VER
|
|
|
|
|
|
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
|
#define SDL_FORCE_INLINE __forceinline
|
|
#define SDL_FORCE_INLINE __forceinline
|
|
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || 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__
|