[Scummvm-cvs-logs] CVS: scummvm/simon debug.cpp,1.29,1.30
Marcus Comstedt
marcus_c at users.sourceforge.net
Sun Dec 21 07:54:01 CET 2003
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv19044
Modified Files:
debug.cpp
Log Message:
Use of stat() is not portable...
Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debug.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- debug.cpp 15 Dec 2003 15:17:06 -0000 1.29
+++ debug.cpp 21 Dec 2003 15:53:38 -0000 1.30
@@ -353,7 +353,7 @@
void SimonEngine::dump_single_bitmap(int file, int image, byte *offs, int w, int h, byte base) {
char buf[40];
-#ifndef __PALM_OS__
+#if !defined(__PALM_OS__) && !defined(__DC__)
struct stat statbuf;
#endif
@@ -363,7 +363,7 @@
sprintf(buf, "dumps/File%d_Image%d.bmp", file, image);
#endif
-#ifndef __PALM_OS__
+#if !defined(__PALM_OS__) && !defined(__DC__)
if (stat(buf, &statbuf) == 0)
return;
#endif
More information about the Scummvm-git-logs
mailing list