diff src/mbyte.c @ 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 5f08d4a42898
children 083f07f99e20
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.
  */