mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 16:58:26 +00:00
work around ce's lack of posix errno
svn-id: r29298
This commit is contained in:
parent
31b77a48ee
commit
b93f68405b
@ -139,6 +139,13 @@
|
||||
#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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user