]> granicus.if.org Git - vim/commitdiff
patch 8.0.0217: build fails without cscope feature v8.0.0217
authorBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2017 15:13:35 +0000 (16:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2017 15:13:35 +0000 (16:13 +0100)
Problem:    Build fails without the cscope feature.
Solution:   Add #ifdef.

src/tag.c
src/version.c

index 61d40e50287788d4ab908b6ee2d7938dc46a2a85..bd0dd740c8a86e698adfc939070690ff29dd81de 100644 (file)
--- 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;
index a46b13ff39cc6229c0e600f97a6e3ae72db46ffe..76b43505800541837261e042a5660a26cde1a58b 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    217,
 /**/
     216,
 /**/