include/begin_code.h
changeset 85 60c7960354e0
parent 0 74212992fb08
child 173 83018110dce8
     1.1 --- a/include/begin_code.h	Mon Jul 02 00:10:05 2001 +0000
     1.2 +++ b/include/begin_code.h	Mon Jul 02 00:10:19 2001 +0000
     1.3 @@ -69,10 +69,15 @@
     1.4  #define SDL_INLINE_OKAY
     1.5  #else
     1.6  /* Add any special compiler-specific cases here */
     1.7 -#if !defined(_MSC_VER) && !defined(__MRC__) && !defined(_SGI_SOURCE)
     1.8 +#if defined(_MSC_VER)
     1.9 +#define __inline__	__inline
    1.10 +#define SDL_INLINE_OKAY
    1.11 +#else
    1.12 +#if !defined(__MRC__) && !defined(_SGI_SOURCE)
    1.13  #define __inline__ inline
    1.14  #define SDL_INLINE_OKAY
    1.15  #endif /* Not a funky compiler */
    1.16 +#endif /* Visual C++ */
    1.17  #endif /* GNU C */
    1.18  #endif /* SDL_INLINE_OKAY */
    1.19