From 753bc1a31bcbbcf3f91b4e3c1343cb779de329df Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 25 Jul 2002 22:42:34 +0000 Subject: [PATCH] attempt to fix GNU builds correctly for all versions of solaris --- src/libCom/osi/os/solaris/osdSock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libCom/osi/os/solaris/osdSock.h b/src/libCom/osi/os/solaris/osdSock.h index 7fb591b6d..41ea56cfa 100644 --- a/src/libCom/osi/os/solaris/osdSock.h +++ b/src/libCom/osi/os/solaris/osdSock.h @@ -47,10 +47,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 DOES_NOT_ACCEPT_ZERO_LENGTH_UDP