]> granicus.if.org Git - vim/commitdiff
patch 8.2.2326: build error with +eval feature but without +spell v8.2.2326
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 21:56:36 +0000 (22:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 21:56:36 +0000 (22:56 +0100)
Problem:    Build error with +eval feature but without +spell.
Solution:   Adjust #ifdef. (John Marriott)

src/mbyte.c
src/version.c

index a4eff7837f92c736024825afb61c081e78528f6f..bafab87ace1dbd2a7a426892d96ca67211c76695 100644 (file)
@@ -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.
  */
index 764d09d3f28d25da47b1e74285a874fb5b28fc42..63549a2ebca00845f4c144bc068accc362cc7bc4 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2326,
 /**/
     2325,
 /**/