summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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)
48static const char rbhome[] = "/sdcard"; 48static 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