diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2003-05-30 01:59:32 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2003-05-30 01:59:32 +0000 |
| commit | 71197f1d02186455fbacb2944ed6e41c3acbb1d5 (patch) | |
| tree | e5d0d0ba653cbbd436267a3311426359f211ad76 | |
| parent | 23d1cdd4deb005d27923c151602121cb732bc094 (diff) | |
| download | rockbox-71197f1d02186455fbacb2944ed6e41c3acbb1d5.zip rockbox-71197f1d02186455fbacb2944ed6e41c3acbb1d5.tar.gz rockbox-71197f1d02186455fbacb2944ed6e41c3acbb1d5.tar.bz2 rockbox-71197f1d02186455fbacb2944ed6e41c3acbb1d5.tar.xz | |
Include proper io headers to insure that proper file arguments are used. Also mapped flush to appropriate win32 call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3711 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | uisimulator/win32/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uisimulator/win32/file.h b/uisimulator/win32/file.h index 9db15da..6df32a3 100644 --- a/uisimulator/win32/file.h +++ b/uisimulator/win32/file.h @@ -19,11 +19,15 @@ #ifndef _FILE_H_ +#include <io.h> +#include <fcntl.h> + 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 flush(x) _commit(x) #include "../../firmware/include/file.h" |