summaryrefslogtreecommitdiff
path: root/Xosdefs.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-06-14 09:33:16 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-06-15 08:09:36 -0700
commit5aaec3c7a583354a07ec765327fd0edd6216981f (patch)
treeec16c230c0b075c5f4ea6aa67387d51f7dd59f69 /Xosdefs.h
parent5bad478221c54c0dbf682ef2569f6ca5ac050049 (diff)
Drop support for SunOS 4 and Solaris releases older than 2.5 (1995)
Includes changing remaining sun ifdef's to check for standard-conformant / non-namespace-polluting #ifdef __sun instead of older #ifdef sun. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'Xosdefs.h')
-rw-r--r--Xosdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index bbd395a..33eaee4 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -43,7 +43,7 @@ in this Software without prior written authorization from The Open Group.
# ifdef __i386__
# ifdef SYSV
# if !defined(__SCO__) && \
- !defined(__UNIXWARE__) && !defined(sun)
+ !defined(__UNIXWARE__) && !defined(__sun)
# if !defined(_POSIX_SOURCE)
# define X_NOT_POSIX
# endif
@@ -51,7 +51,7 @@ in this Software without prior written authorization from The Open Group.
# endif
# endif
-# ifdef sun
+# ifdef __sun
/* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
* This check allows non-Imake configured programs to build correctly.
*/