diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2007-10-09 17:51:02 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2007-10-09 17:51:02 +0000 |
commit | b24631c07fb30b74717dce709b7736d661e7d442 (patch) | |
tree | 581d9e9bc6f6662d1818d3522619991c14bc11d9 /uisimulator | |
parent | b8eb2a89ad911df3c236b95b9eb3cc365a1f8e09 (diff) | |
download | rockbox-b24631c07fb30b74717dce709b7736d661e7d442.tar.gz rockbox-b24631c07fb30b74717dce709b7736d661e7d442.zip |
Fix crosscompiling the uisim with mingw32 by adding a definition of CLOSE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15047 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/common/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 3257b56be6..e91ddc3ccd 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c | |||
@@ -109,6 +109,7 @@ extern int _wrmdir(const wchar_t*); | |||
109 | #define CLOSEDIR(a) (_wclosedir)(a) | 109 | #define CLOSEDIR(a) (_wclosedir)(a) |
110 | #define STAT(a,b) (_wstat)(UTF8_TO_OS(a),b) | 110 | #define STAT(a,b) (_wstat)(UTF8_TO_OS(a),b) |
111 | #define OPEN(a,b,c) (_wopen)(UTF8_TO_OS(a),b,c) | 111 | #define OPEN(a,b,c) (_wopen)(UTF8_TO_OS(a),b,c) |
112 | #define CLOSE(a) (close)(a) | ||
112 | #define REMOVE(a) (_wremove)(UTF8_TO_OS(a)) | 113 | #define REMOVE(a) (_wremove)(UTF8_TO_OS(a)) |
113 | #define RENAME(a,b) (_wrename)(UTF8_TO_OS(a),utf8_to_ucs2(b,convbuf2)) | 114 | #define RENAME(a,b) (_wrename)(UTF8_TO_OS(a),utf8_to_ucs2(b,convbuf2)) |
114 | 115 | ||