src/audio/arts/SDL_artsaudio.c
changeset 6044 35448a5ea044
parent 5594 e741303e08a8
child 6046 3b33b82cdbac
--- a/src/audio/arts/SDL_artsaudio.c	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/audio/arts/SDL_artsaudio.c	Mon Oct 31 05:56:58 2011 -0400
@@ -20,6 +20,8 @@
 */
 #include "SDL_config.h"
 
+#if SDL_AUDIO_DRIVER_ARTS
+
 /* Allow access to a raw mixing buffer */
 
 #ifdef HAVE_SIGNAL_H
@@ -34,14 +36,14 @@
 #include "../SDL_audio_c.h"
 #include "SDL_artsaudio.h"
 
-#ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
+#if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
 #include "SDL_name.h"
 #include "SDL_loadso.h"
 #else
 #define SDL_NAME(X)	X
 #endif
 
-#ifdef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
+#if SDL_AUDIO_DRIVER_ARTS_DYNAMIC
 
 static const char *arts_library = SDL_AUDIO_DRIVER_ARTS_DYNAMIC;
 static void *arts_handle = NULL;
@@ -372,4 +374,6 @@
     "arts", "Analog RealTime Synthesizer", ARTS_Init, 0
 };
 
+#endif /* SDL_AUDIO_DRIVER_ARTS */
+
 /* vi: set ts=4 sw=4 expandtab: */