Ticket #8008: x11.diff

File x11.diff, 911 bytes (added by eriktorbjorn, 19 years ago)

trivial patch

  • scummvm/gameDetector.cpp

    diff -ur ScummVM-cvs20020812/scummvm/gameDetector.cpp ScummVM-cvs20020812+hack/scummvm/gameDetector.cpp
    old new  
    574574OSystem *GameDetector::createSystem() {
    575575        /* auto is to use SDL */
    576576        switch(_gfx_driver) {
    577 #if defined(UNIX_X11)
     577#if defined(X11_BACKEND)
    578578        case GD_X:
    579579                return OSystem_X11_create();
    580580#elif defined(__DC__)
     
    616616#elif defined(__APPLE__) || defined(macintosh)
    617617        /* MD_QTMUSIC is default MidiDriver on MacOS targets */
    618618        if (drv == MD_AUTO) drv = MD_QTMUSIC;
    619 #elif defined(UNIX) || defined(UNIX_X11)
     619#elif defined(UNIX) || defined(X11_BACKEND)
    620620        /* MD_MIDIEMU is default MidiDriver on UNIX targets. */
    621621        /* FIXME: Attempt to detect if sequencer is available,
    622622                          and use it in preference. */