summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/filefuncs.c2
-rw-r--r--firmware/common/rbpaths.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c
index c319717..3811f06 100644
--- a/firmware/common/filefuncs.c
+++ b/firmware/common/filefuncs.c
@@ -91,7 +91,7 @@ bool dir_exists(const char *path)
#endif /* __PCTOOL__ */
-#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL))
+#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL|PLATFORM_MAEMO))
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
{
(void)parent;
diff --git a/firmware/common/rbpaths.c b/firmware/common/rbpaths.c
index 2d3c1e6..ddfcff4 100644
--- a/firmware/common/rbpaths.c
+++ b/firmware/common/rbpaths.c
@@ -42,7 +42,7 @@
#define opendir opendir_android
#define mkdir mkdir_android
#define rmdir rmdir_android
-#elif (CONFIG_PLATFORM & PLATFORM_SDL)
+#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO))
#define open sim_open
#define remove sim_remove
#define rename sim_rename