only call MidiDriver_WIN_create if compiling for windows

svn-id: r3927
This commit is contained in:
Ludvig Strigeus 2002-04-13 19:06:10 +00:00
parent 65a98de8b9
commit bad581ae5e

View File

@ -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");