forked from len0rd/rockbox
Win32 file functions were not being redefined correctly for plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3890 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1f6021ba89
commit
113ac0701b
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ extern int _commit( int handle );
|
||||||
int win32_rename(char *oldpath, char *newpath);
|
int win32_rename(char *oldpath, char *newpath);
|
||||||
int win32_filesize(int fd);
|
int win32_filesize(int fd);
|
||||||
|
|
||||||
#define rename(x,y) win32_rename(x,y)
|
#define rename win32_rename
|
||||||
#define filesize(x) win32_filesize(x)
|
#define filesize win32_filesize
|
||||||
#define fsync(x) _commit(x)
|
#define fsync _commit
|
||||||
|
|
||||||
#include "../../firmware/include/file.h"
|
#include "../../firmware/include/file.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue