From e2d74dbe19c0980c72725a7d0c2b668d6f41766e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 22 Jan 2017 16:13:35 +0100 Subject: [PATCH] patch 8.0.0217: build fails without cscope feature Problem: Build fails without the cscope feature. Solution: Add #ifdef. --- src/tag.c | 6 +++++- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tag.c b/src/tag.c index 61d40e502..bd0dd740c 100644 --- a/src/tag.c +++ b/src/tag.c @@ -1754,7 +1754,11 @@ line_read_in: * The file name is followed by a ','. * Remember etag file name in ebuf. */ - if (*lbuf == Ctrl_L && !use_cscope) + if (*lbuf == Ctrl_L +# ifdef FEAT_CSCOPE + && !use_cscope +# endif + ) { is_etag = 1; /* in case at the start */ state = TS_LINEAR; diff --git a/src/version.c b/src/version.c index a46b13ff3..76b435058 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 217, /**/ 216, /**/ -- 2.50.1