0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0425: build errors when building without folding

Problem:    Build errors when building without folding.
Solution:   Add #ifdefs. (John Marriott)
This commit is contained in:
Bram Moolenaar
2017-03-05 21:18:27 +01:00
parent f7e894dfb6
commit a6c07603ca
5 changed files with 15 additions and 7 deletions

View File

@@ -1183,11 +1183,12 @@ syn_stack_free_block(synblock_T *block)
void
syn_stack_free_all(synblock_T *block)
{
#ifdef FEAT_FOLDING
win_T *wp;
#endif
syn_stack_free_block(block);
#ifdef FEAT_FOLDING
/* When using "syntax" fold method, must update all folds. */
FOR_ALL_WINDOWS(wp)