diff --git a/common/file.cpp b/common/file.cpp index f7e4177e56e..af91816cd75 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 StringIntMap;