Mercurial > vim
diff src/mbyte.c @ 10460:7fd589f46801 v8.0.0123
commit https://github.com/vim/vim/commit/a899e6ecc4523c7e411eaf6fbaa4197d70f6f39e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 3 16:40:51 2016 +0100
patch 8.0.0123
Problem: Modern Sun compilers define "__sun" instead of "sun".
Solution: Use __sun. (closes https://github.com/vim/vim/issues/1296)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 03 Dec 2016 16:45:04 +0100 |
parents | 4aead6a9b7a9 |
children | b726d3ea70bc |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -5735,7 +5735,7 @@ static char e_xim[] = N_("E285: Failed t #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