diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 17:14:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 17:14:13 +0000 |
commit | 09c0d2c437a889bc5a2d6128f26e62bb1011dda3 (patch) | |
tree | 4eb02e20ec9f626860817f1518097fa666804526 | |
parent | 78b3f29973d20003799b839f78876dbf59ab60fe (diff) | |
download | perl-09c0d2c437a889bc5a2d6128f26e62bb1011dda3.tar.gz |
If longsize is 8 we don't need a LL suffix for integer constants.
p4raw-id: //depot/perl@8134
-rwxr-xr-x | Configure | 18 | ||||
-rw-r--r-- | config_h.SH | 6 |
2 files changed, 6 insertions, 18 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Dec 15 04:41:40 EET 2000 [metaconfig 3.0 PL70] +# Generated on Fri Dec 15 19:09:33 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -562,7 +562,6 @@ d_strtod='' d_strtol='' d_strtold='' d_strtoll='' -d_strtoq='' d_strtoul='' d_strtoull='' d_strtouq='' @@ -11928,10 +11927,6 @@ EOM ;; esac -: see if strtoq exists -set strtoq d_strtoq -eval $inlibc - : see if strtoul exists set strtoul d_strtoul eval $inlibc @@ -11960,13 +11955,13 @@ EOCP case "$longsize" in 8) $cat >>try.c <<'EOCP' - check("18446744073709551615", 18446744073709551615ULL, 0); - check("18446744073709551616", 18446744073709551615ULL, ERANGE); - check("-1", 18446744073709551615ULL, 0); + check("18446744073709551615", 18446744073709551615UL, 0); + check("18446744073709551616", 18446744073709551615UL, ERANGE); + check("-1", 18446744073709551615UL, 0); check("-18446744073709551614", 2, 0); check("-18446744073709551615", 1, 0); - check("-18446744073709551616", 18446744073709551615ULL, ERANGE); - check("-18446744073709551617", 18446744073709551615ULL, ERANGE); + check("-18446744073709551616", 18446744073709551615UL, ERANGE); + check("-18446744073709551617", 18446744073709551615UL, ERANGE); EOCP ;; 4) @@ -16008,7 +16003,6 @@ d_strtod='$d_strtod' d_strtol='$d_strtol' d_strtold='$d_strtold' d_strtoll='$d_strtoll' -d_strtoq='$d_strtoq' d_strtoul='$d_strtoul' d_strtoull='$d_strtoull' d_strtouq='$d_strtouq' diff --git a/config_h.SH b/config_h.SH index 8ab759d85c..9202aee51a 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2119,12 +2119,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_strtoll HAS_STRTOLL /**/ -/* HAS_STRTOQ: - * This symbol, if defined, indicates that the strtoq routine is - * available to convert strings to long longs (quads). - */ -#$d_strtoq HAS_STRTOQ /**/ - /* HAS_STRTOULL: * This symbol, if defined, indicates that the strtoull routine is * available to convert strings to unsigned long longs. |