diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-19 07:59:28 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-21 18:39:19 +0100 |
commit | 5d13ecc4a809910a5ae763afea0048c29b3bee97 (patch) | |
tree | b8dbe16c7fc876c62e919c547d82b60e3feddb6d /firmware/common | |
parent | 954cd771fb2cca19ddf3f11f888931579470cc0c (diff) | |
download | rockbox-5d13ecc4a809910a5ae763afea0048c29b3bee97.tar.gz rockbox-5d13ecc4a809910a5ae763afea0048c29b3bee97.zip |
android/ypr0: Merge fs-*.c to generic filesystem-unix.c.
Change-Id: I52e2c29346baf0d282243880477cd149311ce3d1
Diffstat (limited to 'firmware/common')
-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 |