[Scummvm-cvs-logs] CVS: scummvm/simon saveload.cpp,1.2,1.3

Max Horn fingolfin at users.sourceforge.net
Thu Dec 16 11:19:06 CET 2004


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13930/simon

Modified Files:
	saveload.cpp 
Log Message:
Using errno isn't really portable; don't have time to fix this properly right now

Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/saveload.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- saveload.cpp	16 Dec 2004 12:49:25 -0000	1.2
+++ saveload.cpp	16 Dec 2004 19:18:17 -0000	1.3
@@ -21,6 +21,13 @@
 
 #include "stdafx.h"
 
+#ifndef _WIN32_WCE
+// FIXME TODO FIXME: Using errno is not really portable!
+// We should get rid of this, possibly by adding (clear)ioFailed methods
+// to the SaveFile class.
+#include <errno.h>
+#endif
+
 #include "gui/about.h"
 #include "gui/message.h"
 





More information about the Scummvm-git-logs mailing list