diff include/begin_code.h @ 85:60c7960354e0

Added support for Visual C++ inline keyword
author Sam Lantinga <slouken@lokigames.com>
date Mon, 02 Jul 2001 00:10:19 +0000
parents 74212992fb08
children 83018110dce8
line wrap: on
line diff
--- a/include/begin_code.h	Mon Jul 02 00:10:05 2001 +0000
+++ b/include/begin_code.h	Mon Jul 02 00:10:19 2001 +0000
@@ -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 */