From: Steve Ellcey Date: Wed, 30 Apr 2014 09:56:31 +0000 (+0900) Subject: intl: Define PRI_MACROS_BROKEN if undefined X-Git-Tag: v0.19~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b4499440994cb286ea4d569844a3962a451d458;p=thirdparty%2Fgettext.git intl: Define PRI_MACROS_BROKEN if undefined * loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if undefined. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index d4523a54b..1d113b29e 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2014-04-30 Steve Ellcey (tiny change) + + * loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if + undefined. + 2014-04-23 Daiki Ueno intl: Port to Bison 3.0 diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c index 3b8ff1897..63351523c 100644 --- a/gettext-runtime/intl/loadmsgcat.c +++ b/gettext-runtime/intl/loadmsgcat.c @@ -99,6 +99,12 @@ char *alloca (); # include "lock.h" #endif +#ifdef _LIBC +# ifndef PRI_MACROS_BROKEN +# define PRI_MACROS_BROKEN 0 +# endif +#endif + /* Provide fallback values for macros that ought to be defined in . Note that our fallback values need not be literal strings, because we don't use them with preprocessor string concatenation. */