Mercurial > vim
changeset 10654:f0df81ef971a v8.0.0217
patch 8.0.0217: build fails without cscope feature
commit https://github.com/vim/vim/commit/e2d74dbe19c0980c72725a7d0c2b668d6f41766e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 22 16:13:35 2017 +0100
patch 8.0.0217: build fails without cscope feature
Problem: Build fails without the cscope feature.
Solution: Add #ifdef.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 22 Jan 2017 16:15:04 +0100 |
parents | e4ae6d9366b8 |
children | 315b26bc3d66 |
files | src/tag.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;