summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-20 07:57:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-20 07:57:12 +0000
commit1606c6584cb788785b3f9e0e1a7c1d6e98c26629 (patch)
tree53704794288ec74fa1a1338011c3b0a66fb72f28 /lib
parent8fd72ab7e48b3450c1ab484b73d9b40bec2f9478 (diff)
downloadcoreutils-1606c6584cb788785b3f9e0e1a7c1d6e98c26629.tar.xz
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Diffstat (limited to 'lib')
-rw-r--r--lib/c-strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/c-strtod.c b/lib/c-strtod.c
index ae0511034..7e03b4a26 100644
--- a/lib/c-strtod.c
+++ b/lib/c-strtod.c
@@ -39,8 +39,8 @@
# define STRTOD_L strtod_l
#endif
-/* c_strtold falls back on strtod if strtold isn't declared. */
-#if LONG && HAVE_DECL_STRTOLD
+/* c_strtold falls back on strtod if strtold doesn't conform to C99. */
+#if LONG && HAVE_C99_STRTOLD
# define STRTOD strtold
#else
# define STRTOD strtod