From: Jarkko Hietaniemi Date: Mon, 18 Mar 2002 13:39:20 +0000 (+0000) Subject: More prototypes blindness in Solaris. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=34073cabb53a557532d5a01f749b64f7e241d789;p=p5sagit%2Fp5-mst-13.2.git More prototypes blindness in Solaris. (TODO: readdir64_r really needs to be seen.) p4raw-id: //depot/perl@15286 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index a9055c7..37142d0 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -394,7 +394,8 @@ EOM # These prototypes should be visible since we using # -D_REENTRANT, but that does not seem to work. - # It does seem to work for getnetbyaddr_r, weirdly enough. + # It does seem to work for getnetbyaddr_r, weirdly enough, + # and other _r functions. (Solaris 8) d_ctermid_r_proto="$define" d_gethostbyaddr_r_proto="$define" @@ -405,6 +406,10 @@ EOM d_getservbyname_r_proto="$define" d_getservbyport_r_proto="$define" + # Ditto. (Solaris 7) + d_readdir_r_proto="$define" + d_readdir64_r_proto="$define" + ;; esac EOCBU