summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 12:34:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:00:42 -0800
commitc85c1f5480ac8f7c0d43a4b0f353e6f6828901af (patch)
treedc694fdd406223695e68aa84c33ecac0d050c581 /common.c
parentb77d54e21526455b41e406c1cb43c781f4398817 (diff)
Remove ifdefs checking for ultrix & hpux
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'common.c')
-rw-r--r--common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common.c b/common.c
index a32108f..b90d381 100644
--- a/common.c
+++ b/common.c
@@ -310,8 +310,7 @@ SetUpConnectionSocket(int iport, void (*connectionFunc) (int))
#else
(void) ioctl(ConnectionSocket, FIOCLEX, 0);
#endif
- /* ultrix reads hang on Unix sockets, hpux reads fail */
-#if defined(O_NONBLOCK) && (!defined(ultrix) && !defined(hpux))
+#ifdef O_NONBLOCK
(void) fcntl(ConnectionSocket, F_SETFL, O_NONBLOCK);
#else
#ifdef FIOSNBIO