1
0
Fork 0
forked from len0rd/rockbox

android/ypr0: Merge fs-*.c to generic filesystem-unix.c.

Change-Id: I52e2c29346baf0d282243880477cd149311ce3d1
This commit is contained in:
Thomas Martitz 2012-01-19 07:59:28 +01:00
parent 954cd771fb
commit 5d13ecc4a8
6 changed files with 9 additions and 168 deletions

View file

@ -40,17 +40,13 @@
#undef rmdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0)
#include "dir-target.h"
#define opendir _opendir
#define mkdir _mkdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
#include "dir-target.h"
#define opendir opendir_android
#define mkdir mkdir_android
#define rmdir rmdir_android
static const char rbhome[] = "/sdcard";
#elif defined(SAMSUNG_YPR0)
#include "dir-target.h"
#define opendir opendir_ypr0
#define mkdir mkdir_ypr0
#define rmdir rmdir_ypr0
#endif
#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
#define open sim_open
#define remove sim_remove