summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/filesystem-app.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c
index 1d64a58677..16ad5e312f 100644
--- a/firmware/target/hosted/filesystem-app.c
+++ b/firmware/target/hosted/filesystem-app.c
@@ -42,6 +42,11 @@
#undef PIVOT_ROOT
#endif
+#if defined(__PCTOOL__)
+/* We don't want this for tools */
+#undef HAVE_SPECIAL_DIRS
+#endif
+
#if defined(HAVE_MULTIDRIVE) || defined(HAVE_SPECIAL_DIRS)
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
static const char rbhome[] = "/sdcard";
@@ -54,11 +59,6 @@ static const char rbhome[] = HOME_DIR;
#endif
#endif
-#if !defined(__PCTOOL__)
-/* We don't want this for tools */
-#undef HAVE_SPECIAL_DIRS
-#endif
-
#ifdef HAVE_MULTIDRIVE
/* This is to compare any opened directories with the home directory so that
the special drive links may be returned for it only */