projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c4db748
)
No AF_UNIX in BeOS.
Jarkko Hietaniemi [Wed, 26 Dec 2001 17:13:27 +0000 (17:13 +0000)]
p4raw-id: //depot/perl@13887
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
eaf169a
..
409b1b7
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-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;
}