diff options
author | Richard PALO <richard@NetBSD.org> | 2015-11-17 07:02:07 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-11-30 11:51:22 -0500 |
commit | e6b106715f24112d1dc7a84c6e37df4b5debb2d0 (patch) | |
tree | b8c7ef0cb2b1207c1ad6bb6c333209fb3e2ae54e /os/io.c | |
parent | 44d0fd435a4eaf45e252b4f00409152a6d599dfc (diff) | |
download | xserver-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |