diff SDL_sound_internal.h @ 401:c42ac9ee2ce4

Fixed "inline" keyword to compile.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 12 Jul 2002 23:16:24 +0000
parents fb519e6028e3
children 5b00e43ec23c
line wrap: on
line diff
--- a/SDL_sound_internal.h	Thu Jul 11 05:28:52 2002 +0000
+++ b/SDL_sound_internal.h	Fri Jul 12 23:16:24 2002 +0000
@@ -35,8 +35,9 @@
 
 #include "SDL.h"
 
-#if (defined(_MSC_VER) && !defined(inline))
-#	define inline __inline__
+/* SDL 1.2.4 defines this, but better safe than sorry. */
+#if (!defined(__inline__))
+#  define __inline__
 #endif
 
 #if (defined DEBUG_CHATTER)