summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2020-02-22 11:57:43 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2020-02-22 11:57:43 +0100
commit4abfbe5e33af7a1f372f9271f8d5c629ad858ef6 (patch)
tree370ff9eab8b8e0ddbf4d440dad4ea9c581b2cfda /hints
parent4b9ba9feb3d51bf370480b00365cd57068336ed4 (diff)
downloadperl-4abfbe5e33af7a1f372f9271f8d5c629ad858ef6.tar.gz
HP-UX 11.11 and below do not have wcrtomb
At least not with HP C-ANSI-C, but as mbrlen and mbrtowc are already disabled, it is in kine with expectation. This makes perl compilable again on 11.11 with HP C-ANSI-C
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index bc6ca45036..53c87651b6 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -826,3 +826,7 @@ esac
# needed, but for now simply undefine them
d_mbrlen='undef'
d_mbrtowc='undef'
+# And this one is not know on 11.11 (with HP C-ANSI-C)
+if [ "$xxOsRevMajor" -lt 11 ] || [ "$xxOsRevMinor" -lt 12 ]; then
+d_wcrtomb='undef'
+fi