From 355d2b0f423dfc8bfa3561077ff81f1fe0479886 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 27 Mar 2002 23:29:53 +0000 Subject: [PATCH] made osiSocklen_t switch on the solaris os version --- src/include/os/solaris/osiSock.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/include/os/solaris/osiSock.h b/src/include/os/solaris/osiSock.h index ef75e21ab..c45855e92 100644 --- a/src/include/os/solaris/osiSock.h +++ b/src/include/os/solaris/osiSock.h @@ -49,14 +49,8 @@ typedef int SOCKET; #define socket_ioctl(A,B,C) ioctl(A,B,C) typedef int osiSockIoctl_t; -/* - * this requires emulation of SUN PRO's -D__`uname -s`_`uname -r` - * on 3rd party compilers - */ -#if defined ( __SunOS_5_0 ) || defined ( __SunOS_5_1 ) \ - || defined ( __SunOS_5_2 ) || defined ( __SunOS_5_3 ) \ - || defined ( __SunOS_5_4 ) || defined ( __SunOS_5_5 ) \ - || defined ( __SunOS_5_6 ) +#if SOLARIS <= 6 + typedef int osiSocklen_t; #else typedef uint32_t osiSocklen_t; #endif