From c4f2c232461d2bab4f94d8826b2887924420eed7 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 25 Jul 2002 23:35:56 +0000 Subject: [PATCH] attempt to fix GNU builds correctly for all versions of solaris --- src/include/os/solaris/osiSock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/os/solaris/osiSock.h b/src/include/os/solaris/osiSock.h index d14bfc0a7..f3679b6e8 100644 --- a/src/include/os/solaris/osiSock.h +++ b/src/include/os/solaris/osiSock.h @@ -58,10 +58,10 @@ typedef int SOCKET; #define socket_ioctl(A,B,C) ioctl(A,B,C) typedef int osiSockIoctl_t; -#if SOLARIS <= 6 - typedef int osiSocklen_t; -#else +#if SOLARIS > 6 || defined ( _SOCKLEN_T ) typedef uint32_t osiSocklen_t; +#else + typedef int osiSocklen_t; #endif #define FD_IN_FDSET(FD) ((FD)=0)