From 086ae06862077ba228fcae777f2a0b41416c11bb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 10 Jan 2021 22:56:36 +0100 Subject: 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) --- src/mbyte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbyte.c') diff --git a/src/mbyte.c b/src/mbyte.c index a4eff7837..bafab87ac 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -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. */ -- cgit v1.2.1