mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Fixed compiler warnings in Mac Xcode builds.
This commit is contained in:
parent
f3c21ea99e
commit
7635069643
|
|
@ -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…
Reference in New Issue
Block a user