diff options
Diffstat (limited to 'pr/include/md/_osf1.h')
-rw-r--r-- | pr/include/md/_osf1.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pr/include/md/_osf1.h b/pr/include/md/_osf1.h index edf2fa3d..a098a0db 100644 --- a/pr/include/md/_osf1.h +++ b/pr/include/md/_osf1.h @@ -60,19 +60,14 @@ #define _PR_POLL_AVAILABLE #define _PR_USE_POLL -/* - * OSF1 and HPUX report the POLLHUP event for a socket when the - * shutdown(SHUT_WR) operation is called for the remote end, even though - * the socket is still writeable. Use select(), instead of poll(), to - * workaround this problem. - */ -#define _PR_POLL_WITH_SELECT #define _PR_STAT_HAS_ONLY_ST_ATIME #define _PR_HAVE_LARGE_OFF_T #define _PR_HAVE_GETIPNODEBYNAME #define _PR_HAVE_GETIPNODEBYADDR #define _PR_INET6_PROBE -#ifndef _PR_INET6 +#ifdef _PR_INET6 +#define _PR_HAVE_INET_NTOP +#else #define AF_INET6 26 #define AI_V4MAPPED 0x00000010 #define AI_ALL 0x00000008 |