From 342b0ab945bb335ead1d23a3bddf9d77fc944f56 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 31 May 2007 23:06:18 +0000 Subject: [PATCH] less: forgot trivial #if ENABLE_xxxx --- miscutils/less.c | 2 ++ 1 file changed, 2 insertions(+) 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 )