attempt to fix GNU builds correctly for all versions of solaris

This commit is contained in:
Jeff Hill
2002-07-25 22:42:34 +00:00
parent b74f10df59
commit 753bc1a31b

View File

@@ -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