diff options
author | Max Horn | 2002-08-13 19:31:19 +0000 |
---|---|---|
committer | Max Horn | 2002-08-13 19:31:19 +0000 |
commit | 3e993038b626bdfbdc67ae8db72cb51fda008811 (patch) | |
tree | de0a710cac373b8aa4e97b520328f1b6ec020de9 | |
parent | c9c52b4aa0d584faafd335c5c3feea9d7dba89fc (diff) | |
download | scummvm-rg350-3e993038b626bdfbdc67ae8db72cb51fda008811.tar.gz scummvm-rg350-3e993038b626bdfbdc67ae8db72cb51fda008811.tar.bz2 scummvm-rg350-3e993038b626bdfbdc67ae8db72cb51fda008811.zip |
Patch #594432: X11_BACKEND compile fix
svn-id: r4734
-rw-r--r-- | gameDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index 7e806f453c..5ed9a880b3 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -574,7 +574,7 @@ int GameDetector::detectMain(int argc, char **argv) OSystem *GameDetector::createSystem() { /* auto is to use SDL */ switch(_gfx_driver) { -#if defined(UNIX_X11) +#if defined(X11_BACKEND) case GD_X: return OSystem_X11_create(); #elif defined(__DC__) @@ -616,7 +616,7 @@ MidiDriver *GameDetector::createMidi() { #elif defined(__APPLE__) || defined(macintosh) /* MD_QTMUSIC is default MidiDriver on MacOS targets */ if (drv == MD_AUTO) drv = MD_QTMUSIC; -#elif defined(UNIX) || defined(UNIX_X11) +#elif defined(UNIX) || defined(X11_BACKEND) /* MD_MIDIEMU is default MidiDriver on UNIX targets. */ /* FIXME: Attempt to detect if sequencer is available, and use it in preference. */ |