From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 15 Dec 2000 17:14:13 +0000 (+0000)
Subject: If longsize is 8 we don't need a LL suffix for integer constants.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=09c0d2c437a889bc5a2d6128f26e62bb1011dda3;p=p5sagit%2Fp5-mst-13.2.git

If longsize is 8 we don't need a LL suffix for integer constants.

p4raw-id: //depot/perl@8134
---

diff --git a/Configure b/Configure
index 95a6283..4fd7a73 100755
--- a/Configure
+++ b/Configure
@@ -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 8ab759d..9202aee 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.