X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fprintf-parse.h;h=eb5480b68a7ceebab73bd3a537d121a7d7305314;hb=b2e33d4db3e9bd913786dedbc64f1ddd5570eb55;hp=88666ad182b9cc5645d0d9119170eea2eb91c506;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/printf-parse.h b/lib/printf-parse.h index 88666ad18..eb5480b68 100644 --- a/lib/printf-parse.h +++ b/lib/printf-parse.h @@ -23,6 +23,10 @@ ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. STATIC Set to 'static' to declare the function static. */ +#if HAVE_FEATURES_H +# include /* for __GLIBC__, __UCLIBC__ */ +#endif + #include "printf-args.h" @@ -33,6 +37,9 @@ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 +#if __GLIBC__ >= 2 && !defined __UCLIBC__ +# define FLAG_LOCALIZED 64 /* I flag, uses localized digits */ +#endif /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0)