diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-11 18:35:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-11 18:35:55 -0400 |
commit | 135b3f64167826a3d7c912e976128c0e77d4d439 (patch) | |
tree | a532a865dac8fab40fa7c1ac0e732446cc1d7b6a /firmware/target | |
parent | e1bc36ca3187124803ffa997065c0c8a26f5e826 (diff) |
Fix inverted test that made SDL_APP unhappy
Change-Id: I18a51ddd0fa7fd0afda938c732fadce4cd87c262
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/filesystem-app.c | 10 |
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 */ |