diff options
author | Karl Williamson <khw@cpan.org> | 2018-01-24 15:57:30 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-30 22:12:46 -0700 |
commit | aec39ab9804a09eb0b8c7320980e229fe7bbd986 (patch) | |
tree | 97edc2e83e11711571a60e271dab9a5fe56b1444 /hints | |
parent | c259273413d49173839cee5e7022ef968da82185 (diff) | |
download | perl-aec39ab9804a09eb0b8c7320980e229fe7bbd986.tar.gz |
hints/hpux.sh: HP-UX mbrlen() and mbrtowc() don't work
In spite of there being man pages for these, the #include file doesn't
define the mbstate_t type which is required for a parameter to these
functions.
Perhaps the Configure probe could be enhanced so it doesn't return
defined unless these can be successfully compiled, but for now use the
hints file.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/hpux.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index b2650a74a2..91a4d7d388 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -812,3 +812,10 @@ case "`grep 'isfinite' /usr/include/math.h`" in *"isfinite"*) ;; *) d_isfinite=undef ;; esac + +# 11.23 says it has mbrlen and mbrtowc, but compiling them fails as it can't +# find the type definition for mbstate_t which one of the parameters is. It's +# not in the hdr the man page says it is. Perhaps a better Configure probe is +# needed, but for now simply undefine them +d_mbrlen='undef' +d_mbrtowc='undef' |