summaryrefslogtreecommitdiff
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.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 @@
42#undef PIVOT_ROOT 42#undef PIVOT_ROOT
43#endif 43#endif
44 44
45#if defined(__PCTOOL__)
46/* We don't want this for tools */
47#undef HAVE_SPECIAL_DIRS
48#endif
49
45#if defined(HAVE_MULTIDRIVE) || defined(HAVE_SPECIAL_DIRS) 50#if defined(HAVE_MULTIDRIVE) || defined(HAVE_SPECIAL_DIRS)
46#if (CONFIG_PLATFORM & PLATFORM_ANDROID) 51#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
47static const char rbhome[] = "/sdcard"; 52static const char rbhome[] = "/sdcard";
@@ -54,11 +59,6 @@ static const char rbhome[] = HOME_DIR;
54#endif 59#endif
55#endif 60#endif
56 61
57#if !defined(__PCTOOL__)
58/* We don't want this for tools */
59#undef HAVE_SPECIAL_DIRS
60#endif
61
62#ifdef HAVE_MULTIDRIVE 62#ifdef HAVE_MULTIDRIVE
63/* This is to compare any opened directories with the home directory so that 63/* This is to compare any opened directories with the home directory so that
64 the special drive links may be returned for it only */ 64 the special drive links may be returned for it only */