summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-10 22:56:36 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-10 22:56:36 +0100
commit086ae06862077ba228fcae777f2a0b41416c11bb (patch)
treec5b2cb71c73f24671ac8fd932f542c97c7275431
parent75ab91ff3403e725a79ac9c7351b78e9aff71d67 (diff)
patch 8.2.2326: build error with +eval feature but without +spellv8.2.2326
Problem: Build error with +eval feature but without +spell. Solution: Adjust #ifdef. (John Marriott)
-rw-r--r--src/mbyte.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2326,
+/**/
2325,
/**/
2324,