aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/file.cpp b/common/file.cpp
index f7e4177e56..af91816cd7 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -132,6 +132,11 @@
#define clearerr(handle) symbian_clearerr(handle)
#endif
+#ifdef __DC__
+ /* Can't remove files from CD-ROM... */
+ #define remove(name) ((errno = EROFS), -1)
+#endif
+
namespace Common {
typedef HashMap<String, int, CaseSensitiveString_Hash, CaseSensitiveString_EqualTo> StringIntMap;