diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 18:32:57 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 18:32:57 +0000 |
commit | 399c081f939943f8a9b3f967fed6fd333a23ce22 (patch) | |
tree | c547873bda201c42a72bf12d91eb0f2962734d37 /firmware | |
parent | 00dd42a7135e4cadf49158e97ded8f9357941044 (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')
-rw-r--r-- | firmware/include/file.h | 1 |
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); |