summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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