src/audio/bsd/SDL_bsdaudio.c
changeset 6044 35448a5ea044
parent 5595 2cf94ca4ad24
child 6138 4c64952a58fb
--- a/src/audio/bsd/SDL_bsdaudio.c	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/audio/bsd/SDL_bsdaudio.c	Mon Oct 31 05:56:58 2011 -0400
@@ -20,6 +20,8 @@
 */
 #include "SDL_config.h"
 
+#if SDL_AUDIO_DRIVER_BSD
+
 /*
  * Driver for native OpenBSD/NetBSD audio(4).
  * vedge@vedge.com.ar.
@@ -364,4 +366,6 @@
     "bsd", "BSD audio", BSDAUDIO_Init, 0
 };
 
+#endif /* SDL_AUDIO_DRIVER_BSD */
+
 /* vi: set ts=4 sw=4 expandtab: */