From 7e46cf748ead14b4060f0825762fb6393cf89a91 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 23 Dec 2006 01:21:55 +0000 Subject: [PATCH] #define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #defined --- shell/cmdedit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 93758c9fb..bc9cc5ef4 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -58,9 +58,8 @@ #if ENABLE_FEATURE_COMMAND_EDITING -#if ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT -#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR 1 -#endif +#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR \ +(ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT) /* Maximum length of the linked list for the command line history */ #if !ENABLE_FEATURE_COMMAND_HISTORY -- 2.25.1