summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-07-25 23:28:32 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-07-25 23:28:32 +0000
commit113ac0701be5f03e0131e8a4972d84df34e4c477 (patch)
tree35e62c9e1e34f6856c516de3ce74e2f300f818ad /uisimulator
parent1f6021ba8993cc7f77ed5be002779ed94cde4fb1 (diff)
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
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/uisimulator/win32/file.h b/uisimulator/win32/file.h
index e5a94b8db9..a542992cf9 100644
--- a/uisimulator/win32/file.h
+++ b/uisimulator/win32/file.h
@@ -31,9 +31,9 @@ extern int _commit( int handle );
int win32_rename(char *oldpath, char *newpath);
int win32_filesize(int fd);
-#define rename(x,y) win32_rename(x,y)
-#define filesize(x) win32_filesize(x)
-#define fsync(x) _commit(x)
+#define rename win32_rename
+#define filesize win32_filesize
+#define fsync _commit
#include "../../firmware/include/file.h"