[PATCH] Remove PRI_MACROS_BROKEN define usage
Carlos O'Donell
carlos@redhat.com
Fri May 2 07:46:00 GMT 2014
On 03/20/2014 03:20 PM, Adhemerval Zanella wrote:
> diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
> index b96a997..d47b903 100644
> --- a/intl/loadmsgcat.c
> +++ b/intl/loadmsgcat.c
> @@ -62,6 +62,7 @@ char *alloca ();
> #ifdef _LIBC
> # include <langinfo.h>
> # include <locale.h>
> +# define PRI_MACROS_BROKEN 0
> #endif
>
> #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \
This hunk could go in immediately to fix the -Wundef issues while
take our time to merge a new gettext update.
I was looking at this today, but it's going to be more work than
I have free time for this week.
Even though Steve Ellcey has gotten upstream to change the code
such that PRI_MACROS_BROKEN is always defined, there is no stable
release with that change yet.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list