include/begin_code.h
changeset 85 60c7960354e0
parent 0 74212992fb08
child 173 83018110dce8
equal deleted inserted replaced
84:c7f1b0647448 85:60c7960354e0
    67 #ifndef SDL_INLINE_OKAY
    67 #ifndef SDL_INLINE_OKAY
    68 #ifdef __GNUC__
    68 #ifdef __GNUC__
    69 #define SDL_INLINE_OKAY
    69 #define SDL_INLINE_OKAY
    70 #else
    70 #else
    71 /* Add any special compiler-specific cases here */
    71 /* Add any special compiler-specific cases here */
    72 #if !defined(_MSC_VER) && !defined(__MRC__) && !defined(_SGI_SOURCE)
    72 #if defined(_MSC_VER)
       
    73 #define __inline__	__inline
       
    74 #define SDL_INLINE_OKAY
       
    75 #else
       
    76 #if !defined(__MRC__) && !defined(_SGI_SOURCE)
    73 #define __inline__ inline
    77 #define __inline__ inline
    74 #define SDL_INLINE_OKAY
    78 #define SDL_INLINE_OKAY
    75 #endif /* Not a funky compiler */
    79 #endif /* Not a funky compiler */
       
    80 #endif /* Visual C++ */
    76 #endif /* GNU C */
    81 #endif /* GNU C */
    77 #endif /* SDL_INLINE_OKAY */
    82 #endif /* SDL_INLINE_OKAY */
    78 
    83 
    79 /* If inlining isn't supported, remove "__inline__", turning static
    84 /* If inlining isn't supported, remove "__inline__", turning static
    80    inlined functions into static functions (resulting in code bloat
    85    inlined functions into static functions (resulting in code bloat