attempt to fix GNU builds correctly for all versions of solaris
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user