aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-13 19:06:10 +0000
committerLudvig Strigeus2002-04-13 19:06:10 +0000
commitbad581ae5e49cdfd52d75f131460e8eb980665f9 (patch)
tree62983518e89e12a64e630f1aca5a21dcab330df2
parent65a98de8b97fe4d31e5686dbccdf34c0993778ab (diff)
downloadscummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.tar.gz
scummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.tar.bz2
scummvm-rg350-bad581ae5e49cdfd52d75f131460e8eb980665f9.zip
only call MidiDriver_WIN_create if compiling for windows
svn-id: r3927
-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");