X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strtod.c;h=2234ed0f8d495397029db23a356ca0b18f7f5053;hb=fa662f811f9a6dda54f64639b107b1637c3ba2e5;hp=ae0511034d67c68d0fd711fa965a2e129329aa79;hpb=184aaab6f9d672e5ba78820fbab68d89e0254470;p=gnulib.git diff --git a/lib/c-strtod.c b/lib/c-strtod.c index ae0511034..2234ed0f8 100644 --- a/lib/c-strtod.c +++ b/lib/c-strtod.c @@ -1,6 +1,6 @@ /* Convert string to double, using the C locale. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,13 +14,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Paul Eggert. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include #include "c-strtod.h" @@ -39,8 +37,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