diff options
Diffstat (limited to 'Xtranssock.c')
-rw-r--r-- | Xtranssock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xtranssock.c b/Xtranssock.c index 8d0766c..632c1b5 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -227,7 +227,7 @@ static int TRANS(SocketINETClose) (XtransConnInfo ciptr); #if defined HAVE_SOCKLEN_T || (defined(IPv6) && defined(AF_INET6)) # define SOCKLEN_T socklen_t -#elif defined(SVR4) || defined(__SVR4) || defined(__SCO__) +#elif defined(SVR4) || defined(__SVR4) # define SOCKLEN_T size_t #else # define SOCKLEN_T int @@ -990,7 +990,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, const char *port, return TRANS_CREATE_LISTENER_FAILED; } -#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__)) +#if defined(BSD44SOCKETS) sockname.sun_len = strlen(sockname.sun_path); #endif @@ -1068,7 +1068,7 @@ TRANS(SocketUNIXResetListener) (XtransConnInfo ciptr) if (!abstract && ( stat (unsock->sun_path, &statb) == -1 || ((statb.st_mode & S_IFMT) != -#if defined(SCO325) || !defined(S_IFSOCK) +#if !defined(S_IFSOCK) S_IFIFO #else S_IFSOCK @@ -1864,7 +1864,7 @@ TRANS(SocketUNIXConnect) (XtransConnInfo ciptr, return TRANS_CONNECT_FAILED; } -#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__)) +#if defined(BSD44SOCKETS) sockname.sun_len = strlen (sockname.sun_path); #endif |