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.
/* #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
# define USE_IMSTATUSFUNC (*p_imsf != NUL)
#endif
-#ifdef FEAT_EVAL
+#if defined(FEAT_EVAL) && defined(FEAT_MBYTE)
static void
call_imactivatefunc(int active)
{
int
im_get_status()
{
-# ifdef FEAT_EVAL
+# if defined(FEAT_MBYTE) && defined(FEAT_EVAL)
if (USE_IMSTATUSFUNC)
return call_imstatusfunc();
# endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1350,
/**/
1349,
/**/