From 02fc2eeebe0e138f51e361717ee5d2258b2c13d0 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 22 Dec 2001 18:38:18 +0000 Subject: socketpair emulation Message-ID: <20011222183817.A12020@Bagpuss.unfortu.net> p4raw-id: //depot/perl@13858 --- perl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl.h') diff --git a/perl.h b/perl.h index d25ffd7f22..4dfc8ef09f 100644 --- a/perl.h +++ b/perl.h @@ -755,6 +755,12 @@ int sockatmark(int); # endif #endif +#ifndef HAS_SOCKETPAIR +# ifdef HAS_SOCKET +# define socketpair Perl_my_socketpair +# endif +#endif + #if INTSIZE == 2 # define htoni htons # define ntohi ntohs -- cgit v1.2.1