From: Denys Vlasenko Date: Sat, 28 Nov 2009 23:12:30 +0000 (+0100) Subject: ash: randmconfig fix X-Git-Tag: 1_16_0~186 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0337e038a9354706f4bcfd9954c0219b0b8faba0;p=oweals%2Fbusybox.git ash: randmconfig fix Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index 1cfef2787..dac73182e 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -13301,7 +13301,7 @@ int ash_main(int argc UNUSED_PARAM, char **argv) } if (sflag || minusc == NULL) { -#if MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY +#if defined MAX_HISTORY && MAX_HISTORY > 0 && ENABLE_FEATURE_EDITING_SAVEHISTORY if (iflag) { const char *hp = lookupvar("HISTFILE"); if (hp)