aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gameDetector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp
index 36dfa72491..f6ecaa2bad 100644
--- a/gameDetector.cpp
+++ b/gameDetector.cpp
@@ -409,7 +409,9 @@ MidiDriver *GameDetector::createMidi() {
switch(drv) {
case MD_AUTO:
case MD_NULL: return MidiDriver_NULL_create();
+#ifdef WIN32
case MD_WINDOWS: return MidiDriver_WIN_create();
+#endif
}
error("Invalid midi driver selected");