summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-27 22:49:01 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-27 22:49:01 +0100
commit1355aad2b94790217aeef9077d3fb9925461f137 (patch)
tree605f15ae28451a4e5d5659c62aaef100e28b9e7d /src/mbyte.c
parent17471e84a72b5137a6010a98c4adb780237750db (diff)
downloadvim-git-1355aad2b94790217aeef9077d3fb9925461f137.tar.gz
patch 8.0.1350: cannot build with +eval and -multi_bytev8.0.1350
Problem: Cannot build with +eval and -multi_byte. Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte feature when an input method feature is enabled.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 408c49ad7..742c220df 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -4790,7 +4790,7 @@ iconv_end(void)
# define USE_IMSTATUSFUNC (*p_imsf != NUL)
#endif
-#ifdef FEAT_EVAL
+#if defined(FEAT_EVAL) && defined(FEAT_MBYTE)
static void
call_imactivatefunc(int active)
{
@@ -6486,7 +6486,7 @@ static int im_was_set_active = FALSE;
int
im_get_status()
{
-# ifdef FEAT_EVAL
+# if defined(FEAT_MBYTE) && defined(FEAT_EVAL)
if (USE_IMSTATUSFUNC)
return call_imstatusfunc();
# endif