]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Define PRI_MACROS_BROKEN if undefined
authorSteve Ellcey <sellcey@mips.com>
Wed, 30 Apr 2014 09:56:31 +0000 (18:56 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 30 Apr 2014 09:57:04 +0000 (18:57 +0900)
* loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if
undefined.

gettext-runtime/intl/ChangeLog
gettext-runtime/intl/loadmsgcat.c

index d4523a54bc30ab0d207c3d626a81c2ff8ddee35c..1d113b29e6921dff9745cc8ff0ee4f57691de615 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-30  Steve Ellcey  <sellcey@mips.com>  (tiny change)
+
+       * loadmsgcat.c (PRI_MACROS_BROKEN) [_LIBC]: Define to 0, if
+       undefined.
+
 2014-04-23  Daiki Ueno  <ueno@gnu.org>
 
        intl: Port to Bison 3.0
index 3b8ff18976745fdf2cc682fda8f4fd3d7b519d34..63351523ce20503587779841a1fb59fe85b1a1b5 100644 (file)
@@ -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 <inttypes.h>.
    Note that our fallback values need not be literal strings, because we don't
    use them with preprocessor string concatenation.  */