[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.35,1.36

Pawel Kolodziejski aquadran at users.sourceforge.net
Thu Jun 26 22:11:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv18176

Modified Files:
	file.cpp 
Log Message:
chenged ifdef to handle all win32 ports

Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- file.cpp	15 Jun 2003 18:56:41 -0000	1.35
+++ file.cpp	27 Jun 2003 05:10:11 -0000	1.36
@@ -30,7 +30,7 @@
 
 	strcpy(buf, directory);
 
-#ifdef _MSC_VER	// FIXME: is there a better check to detect Windows ?!
+#ifndef WIN32
 	// Fix for Win98 issue related with game directory pointing to root drive ex. "c:\"
 	if ((buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
 		buf[2] = 0;





More information about the Scummvm-git-logs mailing list