1
0
Fork 0
forked from len0rd/rockbox

Disable some more sim_ and app_ redirection for __PCTOOL__.

This makes checkwps build again for apps

Change-Id: I6fcd299076bd201053012d09e208a0845c2145e2
This commit is contained in:
Frank Gevaerts 2012-03-03 20:23:51 +01:00
parent 466a7c6a40
commit efd25bf6db

View file

@ -40,14 +40,14 @@
#undef rmdir #undef rmdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) #if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) && !defined(__PCTOOL__)
#include "dir-target.h" #include "dir-target.h"
#define opendir _opendir #define opendir _opendir
#define mkdir _mkdir #define mkdir _mkdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID) #if (CONFIG_PLATFORM & PLATFORM_ANDROID)
static const char rbhome[] = "/sdcard"; static const char rbhome[] = "/sdcard";
#endif #endif
#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) && !defined(__PCTOOL__)
#define open sim_open #define open sim_open
#define remove sim_remove #define remove sim_remove
#define rename sim_rename #define rename sim_rename