From Olad Flebbe, compile fix for HP-UX.

This commit is contained in:
Robert Osfield 2005-04-08 14:11:15 +00:00
parent f46858c49b
commit 2ae269c447

View File

@ -77,9 +77,6 @@ extern "C" {
# include <errno.h> # include <errno.h>
} }
#else #else
typedef int socklen_t;
# define EWOULDBLOCK WSAEWOULDBLOCK # define EWOULDBLOCK WSAEWOULDBLOCK
# define EINPROGRESS WSAEINPROGRESS # define EINPROGRESS WSAEINPROGRESS
# define EALREADY WSAEALREADY # define EALREADY WSAEALREADY
@ -130,7 +127,7 @@ typedef int socklen_t;
#include <sys/filio.h> #include <sys/filio.h>
#endif #endif
#if defined( __sgi ) || defined (__hpux) #ifdef __sgi
typedef int socklen_t; typedef int socklen_t;
#endif #endif