From Olad Flebbe, compile fix for HP-UX.
This commit is contained in:
parent
f46858c49b
commit
2ae269c447
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user