attempt to fix GNU builds correctly for all versions of solaris

This commit is contained in:
Jeff Hill
2002-07-25 23:35:56 +00:00
parent 34b24889cc
commit c4f2c23246
+3 -3
View File
@@ -58,10 +58,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 FD_IN_FDSET(FD) ((FD)<FD_SETSIZE&&(FD)>=0)