summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-22 16:13:35 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-22 16:13:35 +0100
commite2d74dbe19c0980c72725a7d0c2b668d6f41766e (patch)
tree9fd4a92c7538677aea0998d1afda6a30ad97498b
parente2c6037da387aad05e4f6bd4a8a6267051d6de04 (diff)
downloadvim-git-e2d74dbe19c0980c72725a7d0c2b668d6f41766e.tar.gz
patch 8.0.0217: build fails without cscope featurev8.0.0217
Problem: Build fails without the cscope feature. Solution: Add #ifdef.
-rw-r--r--src/tag.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
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
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 217,
+/**/
216,
/**/
215,