include/begin_code.h
changeset 85 60c7960354e0
parent 0 74212992fb08
child 173 83018110dce8
--- 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 */