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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user