aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-11-19 10:12:15 +0000
committerAndreas Jaeger <aj@suse.de>2001-11-19 10:12:15 +0000
commit5224e27c9e10f21ecd00675707f59edbe91c8449 (patch)
treeb7f1311a1b2181e29ae956c926a80432bdfae06a /stdlib/stdlib.h
parenta41179fd9e2bad91e726a65a026b859dc56edc8d (diff)
downloadglibc-5224e27c9e10f21ecd00675707f59edbe91c8449.tar
glibc-5224e27c9e10f21ecd00675707f59edbe91c8449.tar.gz
glibc-5224e27c9e10f21ecd00675707f59edbe91c8449.tar.bz2
glibc-5224e27c9e10f21ecd00675707f59edbe91c8449.zip
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
compilers that support it. * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * stdlib/stdlib.h: Likewise.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 74082c485d..9b0ed9e3a6 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -140,7 +140,7 @@ extern int atoi (__const char *__nptr) __THROW __attribute_pure__;
/* Convert a string to a long integer. */
extern long int atol (__const char *__nptr) __THROW __attribute_pure__;
-#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_MISC)
+#if defined __USE_ISOC99 || (defined __GLIBC_HAVE_LONG_LONG && defined __USE_MISC)
/* Convert a string to a long long integer. */
__extension__ extern long long int atoll (__const char *__nptr)
__THROW __attribute_pure__;
@@ -167,7 +167,7 @@ extern unsigned long int strtoul (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)
__THROW;
-#if defined __GNUC__ && defined __USE_BSD
+#if defined __GLIBC_HAVE_LONG_LONG && defined __USE_BSD
/* Convert a string to a quadword integer. */
__extension__
extern long long int strtoq (__const char *__restrict __nptr,
@@ -179,7 +179,7 @@ extern unsigned long long int strtouq (__const char *__restrict __nptr,
__THROW;
#endif /* GCC and use BSD. */
-#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_MISC)
+#if defined __USE_ISOC99 || (defined __GLIBC_HAVE_LONG_LONG && defined __USE_MISC)
/* These functions will part of the standard C library in ISO C99. */
/* Convert a string to a quadword integer. */