# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sun Jan 16 18:22:25 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Sun Jan 16 21:08:34 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
d_strtod=''
d_strtol=''
d_strtold=''
+d_strtoll=''
d_strtoul=''
d_strtoull=''
d_strtouq=''
set strtold d_strtold
eval $inlibc
+: see if strtoll exists
+set strtoll d_strtoll
+eval $inlibc
+
: see if strtoul exists
set strtoul d_strtoul
eval $inlibc
d_strtod='$d_strtod'
d_strtol='$d_strtol'
d_strtold='$d_strtold'
+d_strtoll='$d_strtoll'
d_strtoul='$d_strtoul'
d_strtoull='$d_strtoull'
d_strtouq='$d_strtouq'
This variable conditionally defines the HAS_STRTOLD symbol, which
indicates to the C program that the strtold() routine is available.
+d_strtoll (d_strtoll.U):
+ This variable conditionally defines the HAS_STRTOLL symbol, which
+ indicates to the C program that the strtoll() routine is available.
+
d_strtoul (d_strtoul.U):
This variable conditionally defines the HAS_STRTOUL symbol, which
indicates to the C program that the strtoul() routine is available
# Package name : perl5
# Source directory : .
-# Configuration time: Sun Jan 16 18:32:10 EET 2000
+# Configuration time: Sun Jan 16 21:10:53 EET 2000
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
ccsymbols='__LANGUAGE_C__=1 _LONGLONG=1 LANGUAGE_C=1 SYSTYPE_BSD=1'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Sun Jan 16 18:32:10 EET 2000'
+cf_time='Sun Jan 16 21:10:53 EET 2000'
charsize='1'
chgrp=''
chmod=''
d_strtod='define'
d_strtol='define'
d_strtold='undef'
+d_strtoll='undef'
d_strtoul='define'
d_strtoull='undef'
d_strtouq='undef'
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Sun Jan 16 18:32:10 EET 2000
+ * Configuration time: Sun Jan 16 21:10:53 EET 2000
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
*/
/*#define HAS_STRTOLD / **/
+/* HAS_STRTOLL:
+ * This symbol, if defined, indicates that the strtoll routine is
+ * available to convert strings to long longs.
+ */
+/*#define HAS_STRTOLL / **/
+
/* HAS_STRTOULL:
* This symbol, if defined, indicates that the strtoull routine is
* available to convert strings to unsigned long longs.
*/
#$d_strtold HAS_STRTOLD /**/
+/* HAS_STRTOLL:
+ * This symbol, if defined, indicates that the strtoll routine is
+ * available to convert strings to long longs.
+ */
+#$d_strtoll HAS_STRTOLL /**/
+
/* HAS_STRTOULL:
* This symbol, if defined, indicates that the strtoull routine is
* available to convert strings to unsigned long longs.
# define Perl_fmod fmod
#endif
-#if defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE)
+#if !defined(Perl_atof) && defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE)
# if !defined(Perl_atof) && defined(HAS_STRTOLD)
# define Perl_atof(s) strtold(s, (char*)0)
# endif
#endif /* !USE_LOCALE_NUMERIC */
-#if !defined(Atol) && defined(USE_LONG_LONG) && defined(HAS_LONG_LONG) \
- && defined(HAS_ATOLL)
-# define Atol atoll
+#if !defined(Atol) && defined(USE_LONG_LONG) && defined(HAS_LONG_LONG)
+# if !defined(Atol) && defined(HAS_STRTOLL)
+# define Atol(s) strtoll(s, (char*)0)
+# endif
+# if !defined(Atol) && defined(HAS_ATOLL)
+# define Atol atoll
+# endif
#endif
/* is there atoq() anywhere? */
#if !defined(Atol)
&& defined(HAS_STRTOULL)
# define Strtoul strtoull
#endif
+/* is there atouq() anywhere? */
#if !defined(Strtoul) && defined(USE_64_BITS) && defined(HAS_STRTOUQ)
# define Strtoul strtouq
#endif