summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
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