summaryrefslogtreecommitdiff
path: root/src/audio/winmm/SDL_winmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/winmm/SDL_winmm.c')
-rw-r--r--src/audio/winmm/SDL_winmm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/winmm/SDL_winmm.c b/src/audio/winmm/SDL_winmm.c
index de73f711..019f7dff 100644
--- a/src/audio/winmm/SDL_winmm.c
+++ b/src/audio/winmm/SDL_winmm.c
@@ -20,6 +20,8 @@
*/
#include "SDL_config.h"
+#if SDL_AUDIO_DRIVER_WINMM
+
/* Allow access to a raw mixing buffer */
#include "../../core/windows/SDL_windows.h"
@@ -406,4 +408,6 @@ AudioBootStrap WINMM_bootstrap = {
"winmm", "Windows Waveform Audio", WINMM_Init, 0
};
+#endif /* SDL_AUDIO_DRIVER_WINMM */
+
/* vi: set ts=4 sw=4 expandtab: */