X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=d286d6f55825a5ad00e5612ca8f2cb3436813451;hb=43b11415979758aef2b3a58f058086ae01909a9f;hp=5b61c46df8e7c7d07c04cd2061ad2717d484a73f;hpb=e04aaa3da60b161906ebd48b6788a98c7557b758;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index 5b61c46df..d286d6f55 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,15 +1,15 @@ #ifndef XSTRTOD_H # define XSTRTOD_H 1 -# ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(Args) Args +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args # else -# define __P(Args) () +# define PARAMS(Args) () # endif # endif int - xstrtod __P ((const char *str, const char **ptr, double *result)); + xstrtod PARAMS ((const char *str, const char **ptr, double *result)); #endif /* not XSTRTOD_H */