diff options
Diffstat (limited to 'firmware/common/rbpaths.c')
-rw-r--r-- | firmware/common/rbpaths.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/firmware/common/rbpaths.c b/firmware/common/rbpaths.c index aacd949430..f5a484273c 100644 --- a/firmware/common/rbpaths.c +++ b/firmware/common/rbpaths.c | |||
@@ -40,17 +40,13 @@ | |||
40 | #undef rmdir | 40 | #undef rmdir |
41 | 41 | ||
42 | 42 | ||
43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) |
44 | #include "dir-target.h" | 44 | #include "dir-target.h" |
45 | #define opendir opendir_android | 45 | #define opendir _opendir |
46 | #define mkdir mkdir_android | 46 | #define mkdir _mkdir |
47 | #define rmdir rmdir_android | 47 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |
48 | static const char rbhome[] = "/sdcard"; | 48 | static const char rbhome[] = "/sdcard"; |
49 | #elif defined(SAMSUNG_YPR0) | 49 | #endif |
50 | #include "dir-target.h" | ||
51 | #define opendir opendir_ypr0 | ||
52 | #define mkdir mkdir_ypr0 | ||
53 | #define rmdir rmdir_ypr0 | ||
54 | #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 50 | #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) |
55 | #define open sim_open | 51 | #define open sim_open |
56 | #define remove sim_remove | 52 | #define remove sim_remove |