summaryrefslogtreecommitdiff
path: root/src/os_unixx.h
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/os_unixx.h
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/os_unixx.h')
-rw-r--r--src/os_unixx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unixx.h b/src/os_unixx.h
index 8ed52d120..f1aad2c50 100644
--- a/src/os_unixx.h
+++ b/src/os_unixx.h
@@ -17,8 +17,8 @@
# define signal sigset
#endif
- /* sun's sys/ioctl.h redefines symbols from termio world */
-#if defined(HAVE_SYS_IOCTL_H) && !defined(sun)
+ /* Sun's sys/ioctl.h redefines symbols from termio world */
+#if defined(HAVE_SYS_IOCTL_H) && !defined(SUN_SYSTEM)
# include <sys/ioctl.h>
#endif