diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-23 01:21:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-23 01:21:55 +0000 |
commit | 7e46cf748ead14b4060f0825762fb6393cf89a91 (patch) | |
tree | 917f70ca3146621828df74a851282b678b4444f9 /shell | |
parent | 2a813e20e2a8720160a059a036cb6c066044f709 (diff) | |
download | busybox-7e46cf748ead14b4060f0825762fb6393cf89a91.tar.gz |
#define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #defined
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cmdedit.c | 5 |
1 files 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 |