diff mbox

Remove PRI_MACROS_BROKEN define usage

Message ID 532C8599.5010002@linux.vnet.ibm.com
State New
Headers show

Commit Message

Adhemerval Zanella March 21, 2014, 6:31 p.m. UTC
On 20-03-2014 21:43, Joseph S. Myers wrote:
> On Thu, 20 Mar 2014, Adhemerval Zanella wrote:
>
>>> Any change brought from gettext would best be committed on its own 
>>> (ideally with the original author of that change in gettext being 
>>> credited).
>>>
>> The changes I have incorporated on the patch is just change the old K&R
>> function prototype to ISO C, remove and superfluous ';' and change a 
>> free call to remove an unnecessary cast. For these straightforward patches
>> do we really need to track the ones how made then and commit a set of
>> patches? 
> You could probably just say "Change merged from gettext." or similar 
> without detailed attribution - but a change coming from gettext should 
> still be committed separately from a change not coming from gettext.
>
Fair enough, he it is the patch to correct just the PRI_MACROS_BROKEN. I will send
a sync one later.

--

	* intl/loadmsgcat.c (PRI_MACROS_BROKEN): Define it to 0 for _LIBC.

---
diff mbox

Patch

diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
index b96a997..3b9ceec 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) \