(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Dec 2004 08:35:58 +0000 (08:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Dec 2004 08:35:58 +0000 (08:35 +0000)
lib/c-strtod.c

index ae05110..7e03b4a 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