summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-11 18:35:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-11 18:35:55 -0400
commit135b3f64167826a3d7c912e976128c0e77d4d439 (patch)
treea532a865dac8fab40fa7c1ac0e732446cc1d7b6a
parente1bc36ca3187124803ffa997065c0c8a26f5e826 (diff)
downloadrockbox-135b3f64167826a3d7c912e976128c0e77d4d439.tar.gz
rockbox-135b3f64167826a3d7c912e976128c0e77d4d439.tar.bz2
rockbox-135b3f64167826a3d7c912e976128c0e77d4d439.zip
Fix inverted test that made SDL_APP unhappy
Change-Id: I18a51ddd0fa7fd0afda938c732fadce4cd87c262
-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 */