diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-12-03 16:40:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-12-03 16:40:51 +0100 |
commit | a899e6ecc4523c7e411eaf6fbaa4197d70f6f39e (patch) | |
tree | d477a022d1581e56239dbff5de3778c9470aaee3 /src/os_unixx.h | |
parent | 3fad98e8af247af8ebc49730646282a71ccdd47a (diff) | |
download | vim-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.h | 4 |
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 |