From 151e0cfa050b0ecfa7ff60f3bc1a99cc9ebef401 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Wed, 3 Oct 2007 21:50:20 +0000 Subject: [PATCH] Provide dummy remove() function for DC... svn-id: r29152 --- common/file.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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;