From: Jerry D. Hedden Date: Mon, 18 Dec 2006 10:18:28 +0000 (-0800) Subject: Re: 'localtime' not thread-safe under HP-UX B.11.11/64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a9d5acd934f27528a46676584a082ccd7e01693;p=p5sagit%2Fp5-mst-13.2.git Re: 'localtime' not thread-safe under HP-UX B.11.11/64 From: "Jerry D. Hedden" Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com> p4raw-id: //depot/perl@29596 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 05d3a69..df677ff 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -643,8 +643,14 @@ EOM set `echo X "$libswanted "| sed -e 's/ c / pthread c /'` shift libswanted="$*" - fi + # HP-UX 11.X seems to have no easy + # way of detecting these *time_r protos. + d_gmtime_r_proto='define' + gmtime_r_proto='REENTRANT_PROTO_S_TS' + d_localtime_r_proto='define' + localtime_r_proto='REENTRANT_PROTO_S_TS' + fi ;; esac EOCBU