diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 20:23:51 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 20:23:51 +0100 |
commit | efd25bf6db04a134d553b210f10b13d13eeaab29 (patch) | |
tree | 53e506f3c753a53614b628986b3bd85c3c4d8331 /firmware | |
parent | 466a7c6a405f80cd8e01ebf0a70eb406863a38f1 (diff) | |
download | rockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.tar.gz rockbox-efd25bf6db04a134d553b210f10b13d13eeaab29.zip |
Disable some more sim_ and app_ redirection for __PCTOOL__.
This makes checkwps build again for apps
Change-Id: I6fcd299076bd201053012d09e208a0845c2145e2
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/rbpaths.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/rbpaths.c b/firmware/common/rbpaths.c index 767f16585b..1da009b399 100644 --- a/firmware/common/rbpaths.c +++ b/firmware/common/rbpaths.c | |||
@@ -40,14 +40,14 @@ | |||
40 | #undef rmdir | 40 | #undef rmdir |
41 | 41 | ||
42 | 42 | ||
43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) | 43 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) && !defined(__PCTOOL__) |
44 | #include "dir-target.h" | 44 | #include "dir-target.h" |
45 | #define opendir _opendir | 45 | #define opendir _opendir |
46 | #define mkdir _mkdir | 46 | #define mkdir _mkdir |
47 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | 47 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) |
48 | static const char rbhome[] = "/sdcard"; | 48 | static const char rbhome[] = "/sdcard"; |
49 | #endif | 49 | #endif |
50 | #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) | 50 | #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) && !defined(__PCTOOL__) |
51 | #define open sim_open | 51 | #define open sim_open |
52 | #define remove sim_remove | 52 | #define remove sim_remove |
53 | #define rename sim_rename | 53 | #define rename sim_rename |