summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-28 14:33:36 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-28 14:33:36 +0000
commit6a655055c6d5eda8d8bbdb9e567a4eaf813c1cd8 (patch)
treef9c0fb212ab0d6be434f089a0bee3435f5f04622 /pp_sys.c
parent2da79f33d029515a7e08e144fe4c876c8f65b90a (diff)
downloadperl-6a655055c6d5eda8d8bbdb9e567a4eaf813c1cd8.tar.gz
BeOS has sockets but not true ones.
p4raw-id: //depot/perl@14470
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index f8764c7df7..3fb4be900b 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2282,7 +2282,7 @@ PP(pp_socket)
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;