diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 18:54:47 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 18:54:47 +0100 |
commit | c6d20104eb1ba2beae266dff7eba655b9ab9576e (patch) | |
tree | 3d09bf6bb74b4d5a065c12ad732b76c68b28d340 /firmware/include/dir_uncached.h | |
parent | f7a4ee2ddce3e32551e209cccaf19d6d0f041600 (diff) | |
download | rockbox-c6d20104eb1ba2beae266dff7eba655b9ab9576e.tar.gz rockbox-c6d20104eb1ba2beae266dff7eba655b9ab9576e.zip |
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
Diffstat (limited to 'firmware/include/dir_uncached.h')
-rw-r--r-- | firmware/include/dir_uncached.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h index 85f371f972..017b86cc39 100644 --- a/firmware/include/dir_uncached.h +++ b/firmware/include/dir_uncached.h | |||
@@ -33,7 +33,7 @@ struct dirinfo { | |||
33 | #include <stdbool.h> | 33 | #include <stdbool.h> |
34 | #include "file.h" | 34 | #include "file.h" |
35 | 35 | ||
36 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 36 | #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) || defined(__PCTOOL__) |
37 | # define dirent_uncached sim_dirent | 37 | # define dirent_uncached sim_dirent |
38 | # define DIR_UNCACHED SIM_DIR | 38 | # define DIR_UNCACHED SIM_DIR |
39 | # define opendir_uncached sim_opendir | 39 | # define opendir_uncached sim_opendir |