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:
@@ -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.
|
||||
*/
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2326,
|
||||
/**/
|
||||
2325,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user