summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2006-12-18 02:18:28 -0800
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-12-19 19:48:51 +0000
commit1a9d5acd934f27528a46676584a082ccd7e01693 (patch)
tree3e13ac53c6a283c0640ea39bbb0b55107c8db56f /hints
parent55612000cd37c01e85735053fc9ab5f44e8e524c (diff)
downloadperl-1a9d5acd934f27528a46676584a082ccd7e01693.tar.gz
Re: 'localtime' not thread-safe under HP-UX B.11.11/64
From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com> p4raw-id: //depot/perl@29596
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 05d3a69401..df677ff433 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