From 086ae06862077ba228fcae777f2a0b41416c11bb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 10 Jan 2021 22:56:36 +0100 Subject: [PATCH] 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 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mbyte.c b/src/mbyte.c index a4eff7837f..bafab87ace 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. */ diff --git a/src/version.c b/src/version.c index 764d09d3f2..63549a2ebc 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2326, /**/ 2325, /**/