diff decoders/mpglib/mpglib_sdlsound.h @ 441:5b00e43ec23c

Patches to make SDL_sound more Visual C happy.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 31 Jan 2003 01:53:12 +0000
parents a9e211c3faa4
children
line wrap: on
line diff
--- a/decoders/mpglib/mpglib_sdlsound.h	Sun Jan 12 22:06:38 2003 +0000
+++ b/decoders/mpglib/mpglib_sdlsound.h	Fri Jan 31 01:53:12 2003 +0000
@@ -1,3 +1,10 @@
+
+#ifndef _INCLUDE_MPGLIB_SDLSOUND_H_
+#define _INCLUDE_MPGLIB_SDLSOUND_H_
+
+#ifdef _MSC_VER
+    #define snprintf _snprintf
+#endif
 
 struct buf {
 	unsigned char *pnt;
@@ -51,4 +58,6 @@
 }
 #endif
 
+#endif
 
+