summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dir_uncached.h2
-rw-r--r--firmware/include/file.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h
index 3bae07177b..c2c7d67505 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) 36#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO))
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
diff --git a/firmware/include/file.h b/firmware/include/file.h
index ee52c3f2b7..69ed394828 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -46,7 +46,7 @@ extern int app_open(const char *name, int o, ...);
46extern int app_creat(const char *name, mode_t mode); 46extern int app_creat(const char *name, mode_t mode);
47extern int app_remove(const char* pathname); 47extern int app_remove(const char* pathname);
48extern int app_rename(const char* path, const char* newname); 48extern int app_rename(const char* path, const char* newname);
49# if (CONFIG_PLATFORM & PLATFORM_SDL) 49# if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO))
50# define filesize(x) sim_filesize(x) 50# define filesize(x) sim_filesize(x)
51# define fsync(x) sim_fsync(x) 51# define fsync(x) sim_fsync(x)
52# define ftruncate(x,y) sim_ftruncate(x,y) 52# define ftruncate(x,y) sim_ftruncate(x,y)