1
0
forked from aniani/vim

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.
*/

View File

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