summaryrefslogtreecommitdiff
path: root/src/mbyte.c
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 /src/mbyte.c
parent75ab91ff3403e725a79ac9c7351b78e9aff71d67 (diff)
downloadvim-git-086ae06862077ba228fcae777f2a0b41416c11bb.tar.gz
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)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index a4eff7837..bafab87ac 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.
*/