From: Kay Roepke Date: Thu, 6 Mar 2003 23:00:10 +0000 (+0100) Subject: FreeBSD 5.0 gethostbyaddr_r hints update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f412e1d69424d7787af14ab6844279246479c4f1;p=p5sagit%2Fp5-mst-13.2.git FreeBSD 5.0 gethostbyaddr_r hints update Message-ID: <3E67C4EA.A55FFE5C@dolphin-services.de> (plus change the d_gethostbyaddr_r_proto default to "0", that is what an undefined r_proto looks like) p4raw-id: //depot/perl@18846 --- diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 7a2b23a..937df2a 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -220,10 +220,11 @@ EOM fi ldflags="-pthread $ldflags" case "$osvers" in - 4.*) # 4.x has gethostbyaddr_r but it is + 4.*|5.0-release*) + # 4.x and 5.0-release have gethostbyaddr_r but it is # "Temporary function, not threadsafe"... d_gethostbyaddr_r="undef" - d_gethostbyaddr_r_proto="undef" + d_gethostbyaddr_r_proto="0" ;; esac ;;