0
0
mirror of https://github.com/vim/vim.git synced 2025-09-06 21:53:38 -04:00

patch 8.0.0217: build fails without cscope feature

Problem:    Build fails without the cscope feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar 2017-01-22 16:13:35 +01:00
parent e2c6037da3
commit e2d74dbe19
2 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
217,
/**/
216,
/**/