# HG changeset patch # User Bruno Haible # Date 1184371748 0 # Node ID 46dab2096f980d8c3acc4846b211c7810db091bf # Parent 446ec98dae3bae7fd451013b43f8dd48f4309c80 Fix a #if error that causes a build failure on Linux/PowerPC with glibc-2.3.6. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-07-13 Bruno Haible + + * lib/vasnprintf.c (decimal_point_char): Define also if + (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) + && !NEED_PRINTF_DIRECTIVE_A. + Reported by Clemens Koller via + Gary V. Vaughan . + 2007-07-13 Paul Eggert * lib/inttypes_.h: Undo previous change, since it was fixed diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -200,7 +200,7 @@ /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf -#if NEED_PRINTF_DIRECTIVE_A && !defined IN_LIBINTL +#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined # define decimal_point_char_defined 1