changeset 23567:cd6b9bc51d58 v8.2.2326

patch 8.2.2326: build error with +eval feature but without +spell Commit: https://github.com/vim/vim/commit/086ae06862077ba228fcae777f2a0b41416c11bb Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 10 22:56:36 2021 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Jan 2021 23:00:04 +0100
parents 077dbcce5b59
children e6f7afb1564b
files src/mbyte.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
  */
--- 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,