Change 14470 by jhi@alpha on 2002/01/28 14:33:36

        BeOS has sockets but not true ones.

Affected files ...

.... //depot/perl/pp_sys.c#277 edit

Differences ...

==== //depot/perl/pp_sys.c#277 (text) ====
Index: perl/pp_sys.c
--- perl/pp_sys.c.~1~   Mon Jan 28 07:45:05 2002
+++ perl/pp_sys.c       Mon Jan 28 07:45:05 2002
@@ -2282,7 +2282,7 @@
 
 PP(pp_sockpair)
 {
-#if defined (HAS_SOCKETPAIR) || defined (HAS_SOCKET)
+#if defined (HAS_SOCKETPAIR) || (defined (HAS_SOCKET) && defined(SOCK_DGRAM))
     dSP;
     GV *gv1;
     GV *gv2;
End of Patch.

Reply via email to