projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
for beter make distclean (was Re: [PATCH] Re: [ID 20020305.026] Not OK: perl v5.7...
[p5sagit/p5-mst-13.2.git]
/
util.c
diff --git
a/util.c
b/util.c
index
7843507
..
d4a775b
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-4299,7
+4299,11
@@
Perl_my_socketpair (int family, int type, int protocol, int fd[2]) {
* to the my_socketpair in global.sym. */
int
Perl_my_socketpair (int family, int type, int protocol, int fd[2]) {
+#ifdef HAS_SOCKETPAIR
return socketpair(family, type, protocol, fd);
+#else
+ return -1;
+#endif
}
#endif