summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-04-28 12:13:33 +0000
committerFelix Arends <edx@rockbox.org>2002-04-28 12:13:33 +0000
commit17947b7898e848900771c15d7aa0eabdc1b19fe2 (patch)
treec3bc90c4acb9a76aea3acf226c60e89a9d02a141 /firmware
parent4b5edb8e3132d9cf2a287b59df52845ba36f054f (diff)
win32 simulator compatible
(open, close, read, write do not have to be re-defined) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/file.h b/firmware/common/file.h
index ec80a51579..c608fbc6a0 100644
--- a/firmware/common/file.h
+++ b/firmware/common/file.h
@@ -24,6 +24,7 @@
#define SEEK_CUR 1
#define SEEK_END 2
+#ifndef SIMULATOR
extern int open(char* pathname, int flags);
extern int close(int fd);
@@ -31,6 +32,7 @@ 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);