[Scummvm-cvs-logs] SF.net SVN: scummvm: [29375] scummvm/trunk/common/file.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Nov 2 14:00:22 CET 2007


Revision: 29375
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29375&view=rev
Author:   fingolfin
Date:     2007-11-02 06:00:21 -0700 (Fri, 02 Nov 2007)

Log Message:
-----------
Removed now obsolete workarounds

Modified Paths:
--------------
    scummvm/trunk/common/file.cpp

Modified: scummvm/trunk/common/file.cpp
===================================================================
--- scummvm/trunk/common/file.cpp	2007-11-02 08:34:56 UTC (rev 29374)
+++ scummvm/trunk/common/file.cpp	2007-11-02 13:00:21 UTC (rev 29375)
@@ -134,18 +134,6 @@
 	#define clearerr(handle)					symbian_clearerr(handle)
 #endif
 
-#ifdef __DC__
-	/* Can't remove files from CD-ROM... */
-	#define remove(name)  ((errno = EROFS), -1)
-#endif
-
-#ifdef _WIN32_WCE
-	#define ENOENT 2
-	#define EACCES 13
-	static int errno;
-	#define remove(x)  ( errno = (remove(x) == 0) ? 0 : EACCES )
-#endif
-
 namespace Common {
 
 typedef HashMap<String, int, CaseSensitiveString_Hash, CaseSensitiveString_EqualTo> StringIntMap;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list