Mercurial > gnulib
changeset 13323:cbb76cf0c6f1
vasnprintf: Fix syntax errors in libintl build on mingw.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 09 May 2010 11:14:46 +0200 |
parents | 741821a201ac |
children | 2792eeac632f |
files | ChangeLog lib/vasnprintf.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun May 09 02:53:40 2010 +0200 +++ b/ChangeLog Sun May 09 11:14:46 2010 +0200 @@ -1,3 +1,9 @@ +2010-05-09 Bruno Haible <bruno@clisp.org> + + vasnprintf: Fix syntax errors in libintl build on mingw. + * lib/vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine + pad_ourselves and prec_ourselves after use. + 2010-05-08 Bruno Haible <bruno@clisp.org> * lib/config.charset: Update comments for Cygwin 1.7.
--- a/lib/vasnprintf.c Sun May 09 02:53:40 2010 +0200 +++ b/lib/vasnprintf.c Sun May 09 11:14:46 2010 +0200 @@ -2889,8 +2889,8 @@ length += n; } } +# endif } -# endif #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'a' || dp->conversion == 'A') @@ -5498,6 +5498,8 @@ length += count; break; } +#undef pad_ourselves +#undef prec_ourselves } } }