Provide dummy remove() function for DC...

svn-id: r29152
This commit is contained in:
Marcus Comstedt 2007-10-03 21:50:20 +00:00
parent 8ced5d58df
commit 151e0cfa05

View File

@ -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;