[Scummvm-cvs-logs] CVS: scummvm gameDetector.cpp,1.81,1.82

Max Horn fingolfin at users.sourceforge.net
Tue Aug 13 12:32:01 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv22413

Modified Files:
	gameDetector.cpp 
Log Message:
Patch #594432: X11_BACKEND compile fix

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gameDetector.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- gameDetector.cpp	4 Aug 2002 00:26:07 -0000	1.81
+++ gameDetector.cpp	13 Aug 2002 19:31:19 -0000	1.82
@@ -574,7 +574,7 @@
 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 @@
 #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. */





More information about the Scummvm-git-logs mailing list