Fixed compiler warnings in Mac Xcode builds.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 03 Apr 2013 11:58:04 -0400
changeset 70549a9d05664124
parent 7053 187225ae13e5
child 7055 76323a708ea5
Fixed compiler warnings in Mac Xcode builds.
include/begin_code.h
     1.1 --- a/include/begin_code.h	Wed Apr 03 11:49:25 2013 -0400
     1.2 +++ b/include/begin_code.h	Wed Apr 03 11:58:04 2013 -0400
     1.3 @@ -128,6 +128,7 @@
     1.4  #define __inline__
     1.5  #endif
     1.6  
     1.7 +#ifndef SDL_FORCE_INLINE
     1.8  #if defined(_MSC_VER)
     1.9  #define SDL_FORCE_INLINE __forceinline
    1.10  #elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
    1.11 @@ -135,6 +136,7 @@
    1.12  #else
    1.13  #define SDL_FORCE_INLINE static __inline__
    1.14  #endif
    1.15 +#endif
    1.16  
    1.17  /* Apparently this is needed by several Windows compilers */
    1.18  #if !defined(__MACH__)