diff options
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/dir_uncached.h | 2 | ||||
| -rw-r--r-- | firmware/include/file.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h index 3bae071..c2c7d67 100644 --- a/firmware/include/dir_uncached.h +++ b/firmware/include/dir_uncached.h @@ -33,7 +33,7 @@ struct dirinfo { #include <stdbool.h> #include "file.h" -#if (CONFIG_PLATFORM & PLATFORM_SDL) +#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) # define dirent_uncached sim_dirent # define DIR_UNCACHED SIM_DIR # define opendir_uncached sim_opendir diff --git a/firmware/include/file.h b/firmware/include/file.h index ee52c3f..69ed394 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h @@ -46,7 +46,7 @@ extern int app_open(const char *name, int o, ...); extern int app_creat(const char *name, mode_t mode); extern int app_remove(const char* pathname); extern int app_rename(const char* path, const char* newname); -# if (CONFIG_PLATFORM & PLATFORM_SDL) +# if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO)) # define filesize(x) sim_filesize(x) # define fsync(x) sim_fsync(x) # define ftruncate(x,y) sim_ftruncate(x,y) |