Skip to content

Commit

Permalink
Added support for Visual C++ inline keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed Jul 2, 2001
1 parent 6767841 commit 5b090bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/begin_code.h
Expand Up @@ -69,10 +69,15 @@
#define SDL_INLINE_OKAY
#else
/* Add any special compiler-specific cases here */
#if !defined(_MSC_VER) && !defined(__MRC__) && !defined(_SGI_SOURCE)
#if defined(_MSC_VER)
#define __inline__ __inline
#define SDL_INLINE_OKAY
#else
#if !defined(__MRC__) && !defined(_SGI_SOURCE)
#define __inline__ inline
#define SDL_INLINE_OKAY
#endif /* Not a funky compiler */
#endif /* Visual C++ */
#endif /* GNU C */
#endif /* SDL_INLINE_OKAY */

Expand Down

0 comments on commit 5b090bc

Please sign in to comment.