attempt to fix GNU builds correctly for all versions of solaris
This commit is contained in:
1 parent
34b24889cc
commit
c4f2c23246
1 file changed
+3
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user