From: Denis Vlasenko Date: Thu, 31 May 2007 23:06:18 +0000 (-0000) Subject: less: forgot trivial #if ENABLE_xxxx X-Git-Tag: 1_6_0~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=342b0ab945bb335ead1d23a3bddf9d77fc944f56;p=oweals%2Fbusybox.git less: forgot trivial #if ENABLE_xxxx --- diff --git a/miscutils/less.c b/miscutils/less.c index d5301bf58..7be634fd0 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -140,11 +140,13 @@ struct globals { #define files (G.files ) #define num_marks (G.num_marks ) #define mark_lines (G.mark_lines ) +#if ENABLE_FEATURE_LESS_REGEXP #define match_lines (G.match_lines ) #define match_pos (G.match_pos ) #define num_matches (G.num_matches ) #define pattern (G.pattern ) #define pattern_valid (G.pattern_valid ) +#endif #define terminated (G.terminated ) #define term_orig (G.term_orig ) #define term_less (G.term_less )