summaryrefslogtreecommitdiff
path: root/gcc/read-rtl.c
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@gcc.gnu.org>2015-06-01 21:46:17 +0200
committerAndreas Tobler <andreast@gcc.gnu.org>2015-06-01 21:46:17 +0200
commit418dd5cefef6cd8d80de3997a0590503d653bc04 (patch)
tree31377df64f2e206b9e350605e94dd603a6bcf1df /gcc/read-rtl.c
parentc134cf2ab8e329fecda56f61cd977388a200a3d5 (diff)
read-rtl.c: Adapt to use HAVE_DECL_ATOLL instead of HAVE_ATOLL.
2015-06-01 Andreas Tobler <andreast@gcc.gnu.org> * read-rtl.c: Adapt to use HAVE_DECL_ATOLL instead of HAVE_ATOLL. * config.in: Regenerate. From-SVN: r223996
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r--gcc/read-rtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index 749efaff8af..138f179610c 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -704,7 +704,7 @@ initialize_iterators (void)
/* Provide a version of a function to read a long long if the system does
not provide one. */
-#if HOST_BITS_PER_WIDE_INT > HOST_BITS_PER_LONG && !defined(HAVE_ATOLL) && !defined(HAVE_ATOQ)
+#if HOST_BITS_PER_WIDE_INT > HOST_BITS_PER_LONG && !HAVE_DECL_ATOLL && !defined(HAVE_ATOQ)
HOST_WIDE_INT atoll (const char *);
HOST_WIDE_INT
@@ -1328,7 +1328,7 @@ read_rtx_code (const char *code_name)
#else
/* Prefer atoll over atoq, since the former is in the ISO C99 standard.
But prefer not to use our hand-rolled function above either. */
-#if defined(HAVE_ATOLL) || !defined(HAVE_ATOQ)
+#if HAVE_DECL_ATOLL || !defined(HAVE_ATOQ)
tmp_wide = atoll (name.string);
#else
tmp_wide = atoq (name.string);