summaryrefslogtreecommitdiffstats
path: root/src/feature.h
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/feature.h
parent17471e84a72b5137a6010a98c4adb780237750db (diff)
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/feature.h')
-rw-r--r--src/feature.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature.h b/src/feature.h
index 6bc56c2cd0..a0b0f7e1d4 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -635,7 +635,8 @@
/* #define FEAT_MBYTE_IME */
# endif
-#if defined(FEAT_MBYTE_IME) && !defined(FEAT_MBYTE)
+/* Input methods are only useful with +multi_byte. */
+#if (defined(FEAT_MBYTE_IME) || defined(FEAT_XIM)) && !defined(FEAT_MBYTE)
# define FEAT_MBYTE
#endif