From 135b3f64167826a3d7c912e976128c0e77d4d439 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 11 Oct 2020 18:35:55 -0400 Subject: Fix inverted test that made SDL_APP unhappy Change-Id: I18a51ddd0fa7fd0afda938c732fadce4cd87c262 --- firmware/target/hosted/filesystem-app.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware') 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 */ -- cgit v1.2.2