mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Fix __PCTOOL__ dependencies on SIMULATOR
* filesize() is not POSIX, so it doesn't need stubbing or redirecting * make the various directory functions use the sim_ versions for PCTOOL * PCTOOL needs generic byteswap functions * fix the database makefile to not use -DSIMULATOR anymore Change-Id: Ic6abc4f662830b85626c751a472fa4a03e844871
This commit is contained in:
parent
f7a4ee2ddc
commit
c6d20104eb
5 changed files with 5 additions and 5 deletions
|
|
@ -517,7 +517,7 @@ long sim_lseek(int fildes, long offset, int whence)
|
|||
return lseek(fildes, offset, whence);
|
||||
}
|
||||
|
||||
long sim_filesize(int fd)
|
||||
long filesize(int fd)
|
||||
{
|
||||
#ifdef WIN32
|
||||
return _filelength(fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue