diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-26 17:13:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-26 17:13:27 +0000 |
commit | 504583342c47cd89d728272acd00052b6bd7ced6 (patch) | |
tree | 8717b630bcc75f199d1b530d5c98f256237c47d8 /util.c | |
parent | c4db748a4634cf60131b636e6865487cdcc8877e (diff) | |
download | perl-504583342c47cd89d728272acd00052b6bd7ced6.tar.gz |
No AF_UNIX in BeOS.
p4raw-id: //depot/perl@13887
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4135,7 +4135,11 @@ Perl_my_socketpair (int family, int type, int protocol, int fd[2]) { struct sockaddr_in connect_addr; Sock_size_t size; - if (protocol || family != AF_UNIX) { + if (protocol +#ifdef AF_UNIX + || family != AF_UNIX +#endif + ) { errno = EAFNOSUPPORT; return -1; } |