summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2015-11-17 07:02:27 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-11-28 12:47:11 -0800
commit3ba0b7a37b9053662ff42f0b4caa856856098475 (patch)
tree780b9627ff7781713c6c3bc12ef4601add797f8a /Xtranssock.c
parent1d31b87e8045f3fc89b1914187a9a13861d35f2d (diff)
Replace 'sun' with '__sun'
Globally replace #ifdef and #if defined usage of 'sun' with '__sun' such that strict ISO compiler modes such as -ansi or -std=c99 can be used. Signed-off-by: Richard PALO <richard@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtranssock.c')
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index d830e7c..b915380 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -112,7 +112,7 @@ from the copyright holders.
#include <sys/filio.h>
#endif
-#if (defined(__i386__) && defined(SYSV)) && !defined(SCO325) && !defined(sun)
+#if (defined(__i386__) && defined(SYSV)) && !defined(SCO325) && !defined(__sun)
#include <net/errno.h>
#endif