updated for version 7.1-280
diff --git a/src/version.c b/src/version.c
index 3a9bc0d..9811dda 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    280,
+/**/
     279,
 /**/
     278,
diff --git a/src/vim.h b/src/vim.h
index 989dd23..6c2cde5 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -463,7 +463,7 @@
  */
 #if defined(FEAT_XIM) \
     || (defined(FEAT_GUI) && (defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME))) \
-    || defined(FEAT_GUI_MAC)
+    || (defined(FEAT_GUI_MAC) && defined(FEAT_MBYTE))
 # define USE_IM_CONTROL
 #endif