aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2007-11-02 13:00:21 +0000
committerMax Horn2007-11-02 13:00:21 +0000
commit41a8cb934ce11f22a28af5869dd5861dec37ce93 (patch)
tree04807db2d2fe5d0d88f60cf095bb6ada3c41e76a /common
parent610d9a2ce7831fd18e1917fd2131a14f31cfe1b2 (diff)
downloadscummvm-rg350-41a8cb934ce11f22a28af5869dd5861dec37ce93.tar.gz
scummvm-rg350-41a8cb934ce11f22a28af5869dd5861dec37ce93.tar.bz2
scummvm-rg350-41a8cb934ce11f22a28af5869dd5861dec37ce93.zip
Removed now obsolete workarounds
svn-id: r29375
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 2c08753696..be557ff634 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -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;