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

patch 8.2.2326: build error with +eval feature but without +spell

Problem:    Build error with +eval feature but without +spell.
Solution:   Adjust #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar
2021-01-10 22:56:36 +01:00
parent 75ab91ff34
commit 086ae06862
2 changed files with 3 additions and 1 deletions

View File

@@ -4299,7 +4299,7 @@ mb_charlen(char_u *str)
return count;
}
#if defined(FEAT_SPELL) || defined(PROTO)
#if (defined(FEAT_SPELL) || defined(FEAT_EVAL)) || defined(PROTO)
/*
* Like mb_charlen() but for a string with specified length.
*/