]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a test failure on AIX 4.3.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Aug 2002 19:56:10 +0000 (19:56 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:43 +0000 (12:08 +0200)
tests/ChangeLog
tests/format-c-3-prg.c
tests/format-c-4-prg.c

index 6258dde9e97b5ee569e078143bef26e563abd986..6a0ddc35f4b9a2e141c1379e5d749a03452bc61f 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-02  Bruno Haible  <bruno@clisp.org>
+
+       * format-c-3-prg.c (PRId8): Redefine if PRI_MACROS_BROKEN is set.
+       * format-c-4-prg.c (PRId8): Likewise.
+
 2002-07-25  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.11.4 released.
index 8ff0e09c6a6d77df43ce89501c6505b7d734cb42..0814b7cc057946ffd53194441f2e201ab443f715 100644 (file)
@@ -35,7 +35,8 @@
 #define _(string) gettext (string)
 
 /* Fallback definition.  */
-#ifndef PRId8
+#if !defined PRId8 || PRI_MACROS_BROKEN
+# undef PRId8
 # define PRId8 "d"
 #endif
 
index c764aac80c4c03c2d3b0b21e76bc688a57ef3a6b..b91d97b196240e408dcfd75a4dc3219477873704 100644 (file)
@@ -35,7 +35,8 @@
 #define _(string) gettext (string)
 
 /* Fallback definition.  */
-#ifndef PRId8
+#if !defined PRId8 || PRI_MACROS_BROKEN
+# undef PRId8
 # define PRId8 "d"
 #endif