diff options
| author | Felix Arends <edx@rockbox.org> | 2002-04-28 19:29:57 +0000 |
|---|---|---|
| committer | Felix Arends <edx@rockbox.org> | 2002-04-28 19:29:57 +0000 |
| commit | 0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4 (patch) | |
| tree | a085289d96d94639d1fc089a4e6b8b75c259e191 /firmware/common/file.h | |
| parent | 98ed5ed17a246e01805b6d187bdfc445fe7d0f7b (diff) | |
| download | rockbox-0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4.zip rockbox-0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4.tar.gz rockbox-0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4.tar.bz2 rockbox-0196c0c45bd7835a2dbc2bc3e075382e3cf3cba4.tar.xz | |
added win32 simulator compability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@303 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/file.h')
| -rw-r--r-- | firmware/common/file.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/common/file.h b/firmware/common/file.h index c608fbc..dde78bc 100644 --- a/firmware/common/file.h +++ b/firmware/common/file.h @@ -32,9 +32,14 @@ extern int read(int fd, void* buf, int count); extern int write(int fd, void* buf, int count); extern int lseek(int fd, int offset, int whence); -#endif extern int remove(char* pathname); extern int rename(char* oldname, char* newname); +#else +#ifdef _WIN32 +#include <io.h> +#include <stdio.h> +#endif +#endif #endif |