diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-01 02:49:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-01 02:49:14 +0000 |
commit | daf16542c28ac022367c5ba4e15ea6a0207973a3 (patch) | |
tree | 4cc800864d61eef5b58edbeccd0ac597d0446f3e /util.c | |
parent | c8214fdf1bb1e3ce42aa115b7beb887b55c9d0c7 (diff) | |
download | perl-daf16542c28ac022367c5ba4e15ea6a0207973a3.tar.gz |
DJGPP tweaks from Laszlo.
p4raw-id: //depot/perl@15650
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |