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__
|
||||
#endif
|
||||
|
||||
#ifndef SDL_FORCE_INLINE
|
||||
#if defined(_MSC_VER)
|
||||
#define SDL_FORCE_INLINE __forceinline
|
||||
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
|
||||
|
@ -135,6 +136,7 @@
|
|||
#else
|
||||
#define SDL_FORCE_INLINE static __inline__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Apparently this is needed by several Windows compilers */
|
||||
#if !defined(__MACH__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue