forked from len0rd/rockbox
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
This commit is contained in:
parent
b8eb2a89ad
commit
b24631c07f
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ extern int _wrmdir(const wchar_t*);
|
|||
#define CLOSEDIR(a) (_wclosedir)(a)
|
||||
#define STAT(a,b) (_wstat)(UTF8_TO_OS(a),b)
|
||||
#define OPEN(a,b,c) (_wopen)(UTF8_TO_OS(a),b,c)
|
||||
#define CLOSE(a) (close)(a)
|
||||
#define REMOVE(a) (_wremove)(UTF8_TO_OS(a))
|
||||
#define RENAME(a,b) (_wrename)(UTF8_TO_OS(a),utf8_to_ucs2(b,convbuf2))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue