summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-12-03 16:40:51 +0100
committerBram Moolenaar <Bram@vim.org>2016-12-03 16:40:51 +0100
commita899e6ecc4523c7e411eaf6fbaa4197d70f6f39e (patch)
treed477a022d1581e56239dbff5de3778c9470aaee3 /src/mbyte.c
parent3fad98e8af247af8ebc49730646282a71ccdd47a (diff)
downloadvim-a899e6ecc4523c7e411eaf6fbaa4197d70f6f39e.zip
patch 8.0.0123
Problem: Modern Sun compilers define "__sun" instead of "sun". Solution: Use __sun. (closes #1296)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 646235fef..ccf23e884 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -5735,7 +5735,7 @@ static char e_xim[] = N_("E285: Failed to create input context");
#endif
#if defined(FEAT_GUI_X11) || defined(PROTO)
-# if defined(XtSpecificationRelease) && XtSpecificationRelease >= 6 && !defined(sun)
+# if defined(XtSpecificationRelease) && XtSpecificationRelease >= 6 && !defined(SUN_SYSTEM)
# define USE_X11R6_XIM
# endif