diff src/audio/macrom/SDL_romaudio.c @ 2738:79c1bd651f04

Fixed a bunch of compile warnings on Mac OS X
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 Sep 2008 16:04:20 +0000
parents 866052b01ee5
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/macrom/SDL_romaudio.c	Sun Aug 31 16:04:32 2008 +0000
+++ b/src/audio/macrom/SDL_romaudio.c	Mon Sep 01 16:04:20 2008 +0000
@@ -89,6 +89,7 @@
     DecrementAtomic((SInt32 *) & need_to_mix);
 }
 
+#ifndef __MACOSX__
 static void
 SNDMGR_LockDevice(_THIS)
 {
@@ -114,6 +115,7 @@
         mix_buffer(this, buffer[fill_me]);
     }
 }
+#endif // __MACOSX__
 
 static void
 callBackProc(SndChannel * chan, SndCommand * cmd_passed)