summaryrefslogtreecommitdiff
path: root/os/io.c
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2015-11-17 07:02:07 +0100
committerAdam Jackson <ajax@redhat.com>2015-11-30 11:51:22 -0500
commite6b106715f24112d1dc7a84c6e37df4b5debb2d0 (patch)
treeb8c7ef0cb2b1207c1ad6bb6c333209fb3e2ae54e /os/io.c
parent44d0fd435a4eaf45e252b4f00409152a6d599dfc (diff)
downloadxserver-e6b106715f24112d1dc7a84c6e37df4b5debb2d0.tar.gz
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>
Diffstat (limited to 'os/io.c')
-rw-r--r--os/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/io.c b/os/io.c
index 96a243d8c..55644eaf3 100644
--- a/os/io.c
+++ b/os/io.c
@@ -368,7 +368,7 @@ ReadRequestFromClient(ClientPtr client)
oci->size - oci->bufcnt);
if (result <= 0) {
if ((result < 0) && ETEST(errno)) {
-#if defined(SVR4) && defined(__i386__) && !defined(sun)
+#if defined(SVR4) && defined(__i386__) && !defined(__sun)
if (0)
#endif
{