Fixed compiler warnings in Mac Xcode builds.
This commit is contained in:
parent
569de57dd7
commit
7641f6840f
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,7 @@
|
||||||
#define __inline__
|
#define __inline__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SDL_FORCE_INLINE
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define SDL_FORCE_INLINE __forceinline
|
#define SDL_FORCE_INLINE __forceinline
|
||||||
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
|
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
|
||||||
|
@ -135,6 +136,7 @@
|
||||||
#else
|
#else
|
||||||
#define SDL_FORCE_INLINE static __inline__
|
#define SDL_FORCE_INLINE static __inline__
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Apparently this is needed by several Windows compilers */
|
/* Apparently this is needed by several Windows compilers */
|
||||||
#if !defined(__MACH__)
|
#if !defined(__MACH__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue