only call MidiDriver_WIN_create if compiling for windows
svn-id: r3927
This commit is contained in:
parent
65a98de8b9
commit
bad581ae5e
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue