diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-25 13:18:10 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-29 20:54:49 +0800 |
commit | 3cfe6d102c50c7cdd639b841ad10a8a86cc2cbbb (patch) | |
tree | f4d95d8cfebffe7da7c845a36298bd5ffbde2fd4 /t | |
parent | 4f5b68afbae99403486dc3e76f23f775fd9587c6 (diff) | |
download | perl-3cfe6d102c50c7cdd639b841ad10a8a86cc2cbbb.tar.gz |
hints/hpux - only run d_strtold define override check on version < 11.23
I added a version check around the logic as the comment already says
that "In HP-UXes prior to 11.23 strtold() returned a HP-UX specific
union called long_double, not a C99 long double."
The logic did not check for the version mentioned in the comment, it
simply greped for something that is no longer present in the file:
grep 'double strtold.const' /usr/include/stdlib.h
outputs nothing on HPUX version B.11.31.
But
grep "double strtold" /usr/include/stdlib.h
outputs:
extern long_double strtold __((const char * __restrict, char ** __restrict));
extern long double strtold __((const char * __restrict, char ** __restrict));
on HPUX version B.11.31.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions