summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-02-28 18:32:57 +0000
committerJens Arnold <amiconn@rockbox.org>2005-02-28 18:32:57 +0000
commit399c081f939943f8a9b3f967fed6fd333a23ce22 (patch)
treec547873bda201c42a72bf12d91eb0f2962734d37 /firmware/include
parent00dd42a7135e4cadf49158e97ded8f9357941044 (diff)
Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h
index 694de48348..d497ede23c 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -52,6 +52,7 @@
#define filesize(x) sim_filesize(x)
#define fsync(x) sim_fsync(x)
#define ftruncate(x,y) sim_ftruncate(x,y)
+#define lseek(x,y,z) sim_lseek(x,y,z)
#endif
typedef int (*open_func)(const char* pathname, int flags);