From 6a663c83c5a29cf8a1e1b35f456218ee7ef19e9f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 27 Mar 2002 00:52:51 +0000 Subject: [PATCH] made osiSocklen_t switch on the solaris os version --- src/include/os/solaris/osiSock.h | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/include/os/solaris/osiSock.h b/src/include/os/solaris/osiSock.h index e8e63887f..ef75e21ab 100644 --- a/src/include/os/solaris/osiSock.h +++ b/src/include/os/solaris/osiSock.h @@ -53,20 +53,10 @@ 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 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_1 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_2 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_3 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_4 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_5 ) - typedef int osiSocklen_t; -#elif defined ( __SunOS_5_6 ) - typedef int osiSocklen_t; +#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 ) #else typedef uint32_t osiSocklen_t; #endif