1
0
forked from aniani/vim

patch 8.0.0123

Problem:    Modern Sun compilers define "__sun" instead of "sun".
Solution:   Use __sun. (closes #1296)
This commit is contained in:
Bram Moolenaar
2016-12-03 16:40:51 +01:00
parent 3fad98e8af
commit a899e6ecc4
5 changed files with 16 additions and 9 deletions

View File

@@ -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