summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-03-03 20:23:51 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-03-03 20:23:51 +0100
commitefd25bf6db04a134d553b210f10b13d13eeaab29 (patch)
tree53e506f3c753a53614b628986b3bd85c3c4d8331
parent466a7c6a405f80cd8e01ebf0a70eb406863a38f1 (diff)
downloadrockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.zip
rockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.tar.gz
rockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.tar.bz2
rockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.tar.xz
Disable some more sim_ and app_ redirection for __PCTOOL__.
This makes checkwps build again for apps Change-Id: I6fcd299076bd201053012d09e208a0845c2145e2
-rw-r--r--firmware/common/rbpaths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/rbpaths.c b/firmware/common/rbpaths.c
index 767f165..1da009b 100644
--- a/firmware/common/rbpaths.c
+++ b/firmware/common/rbpaths.c
@@ -40,14 +40,14 @@
#undef rmdir
-#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0)
+#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) && !defined(__PCTOOL__)
#include "dir-target.h"
#define opendir _opendir
#define mkdir _mkdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
static const char rbhome[] = "/sdcard";
#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 remove sim_remove
#define rename sim_rename