From: Bruno Haible Date: Sat, 1 Sep 2007 08:56:00 +0000 (+0000) Subject: Adapt to changes in gnulib. X-Git-Tag: v0.17~279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0f3e2341c5b21afdc05991601a8e2defdbda4c7;p=thirdparty%2Fgettext.git Adapt to changes in gnulib. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index 2966f06eb..dc182df0f 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,14 @@ +2007-06-10 Bruno Haible + + * printf-parse.c: Don't include config.h and the specification + header if PRINTF_PARSE is already defined. Eliminate the set of + parameters for WIDE_CHAR_VERSION; the user of this file must provide + them now. Include c-ctype.h. + (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U' + directive and CHAR_T_ONLY_ASCII. + * printf.c: Include wprintf-parse.h. Define the set of parameters for + the WIDE_CHAR_VERSION. + 2007-06-07 Bruno Haible * gettextP.h (gl_locale_name_canonicalize, gl_locale_name_posix, diff --git a/gettext-runtime/intl/printf.c b/gettext-runtime/intl/printf.c index 7492808a7..0088e5195 100644 --- a/gettext-runtime/intl/printf.c +++ b/gettext-runtime/intl/printf.c @@ -285,7 +285,12 @@ libintl_asprintf (char **resultp, const char *format, ...) #define WIDE_CHAR_VERSION 1 +#include "wprintf-parse.h" /* Define auxiliary functions declared in "wprintf-parse.h". */ +#define CHAR_T wchar_t +#define DIRECTIVE wchar_t_directive +#define DIRECTIVES wchar_t_directives +#define PRINTF_PARSE wprintf_parse #include "printf-parse.c" /* Define functions declared in "vasnprintf.h". */