forked from len0rd/rockbox
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
This commit is contained in:
parent
00dd42a713
commit
399c081f93
4 changed files with 15 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue