]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2004 07:57:12 +0000 (07:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2004 07:57:12 +0000 (07:57 +0000)
lib/c-strtod.c

index ae0511034d67c68d0fd711fa965a2e129329aa79..7e03b4a26f2d8dd8c61bd4f739ad4e9768a94494 100644 (file)
@@ -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