Skip to content

Commit e2d74db

Browse files
committed
patch 8.0.0217: build fails without cscope feature
Problem: Build fails without the cscope feature. Solution: Add #ifdef.
1 parent e2c6037 commit e2d74db

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/tag.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,11 @@ find_tags(
17541754
* The file name is followed by a ','.
17551755
* Remember etag file name in ebuf.
17561756
*/
1757-
if (*lbuf == Ctrl_L && !use_cscope)
1757+
if (*lbuf == Ctrl_L
1758+
# ifdef FEAT_CSCOPE
1759+
&& !use_cscope
1760+
# endif
1761+
)
17581762
{
17591763
is_etag = 1; /* in case at the start */
17601764
state = TS_LINEAR;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
217,
767769
/**/
768770
216,
769771
/**/

0 commit comments

Comments
 (0)