Mercurial > hg > octave-lyh > gnulib-hg
changeset 5556:c2d95ab34ea3
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 24 Dec 2004 08:35:58 +0000 |
parents | 12b1a84e1247 |
children | 94babf286465 |
files | lib/c-strtod.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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