aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 23:06:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-31 23:06:18 +0000
commit342b0ab945bb335ead1d23a3bddf9d77fc944f56 (patch)
tree433c46bcb9a4ac2023a5044f757e522d87b9b0f5
parent9a7d38fe2448617df98ecaea7dbe6f3131088586 (diff)
downloadbusybox-342b0ab945bb335ead1d23a3bddf9d77fc944f56.tar.gz
less: forgot trivial #if ENABLE_xxxx
-rw-r--r--miscutils/less.c2
1 files changed, 2 insertions, 0 deletions
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 )