X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fxstrtod.h;h=d286d6f55825a5ad00e5612ca8f2cb3436813451;hb=ff32653598f7eb683c2a65c2d6e5cd15c7e5e73d;hp=b2fffb27893fc6454d3a6c5f397a172e90fe6845;hpb=2ae5764dda52f95186d8b7bc3533a29e5cf18453;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index b2fffb278..d286d6f55 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,12 +1,13 @@ #ifndef XSTRTOD_H # define XSTRTOD_H 1 -#undef PARAMS -#if defined (__STDC__) && __STDC__ -# define PARAMS(Args) Args -#else -# define PARAMS(Args) () -#endif +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +# endif int xstrtod PARAMS ((const char *str, const char **ptr, double *result));