diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-05-31 01:10:20 +0200 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-06-13 00:00:31 +0200 |
commit | d0b86e2f7c43ab4fc0721d279c46624052695726 (patch) | |
tree | 638e9906802d130740b47786d78ecc29d88c1644 /config_h.SH | |
parent | 323fd7cc4020999815f95d50243cbcf61e5e42f0 (diff) | |
download | perl-d0b86e2f7c43ab4fc0721d279c46624052695726.tar.gz |
Protect against ptrdiff_t not being available.
This is primarily for pedantic builds; ptrdiff_t is now standard,
and had already been in use in the core without guards.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 7301ef413c..c320df38fe 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3844,6 +3844,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_off64_t HAS_OFF64_T /**/ +/* HAS_PTRDIFF_T: + * This symbol will be defined if the C compiler supports ptrdiff_t. + */ +#$d_ptrdiff_t HAS_PTRDIFF_T /**/ + /* HAS_PRCTL: * This symbol, if defined, indicates that the prctl routine is * available to set process title. |