From: Bruno Haible Date: Fri, 2 Aug 2002 19:56:10 +0000 (+0000) Subject: Avoid a test failure on AIX 4.3. X-Git-Tag: 0.11.5-branchpoint~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eadb99b6292ad8f59b38006cd40acbb3b1f8fcb0;p=thirdparty%2Fgettext.git Avoid a test failure on AIX 4.3. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 6258dde9e..6a0ddc35f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2002-08-02 Bruno Haible + + * 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 * gettext-0.11.4 released. diff --git a/tests/format-c-3-prg.c b/tests/format-c-3-prg.c index 8ff0e09c6..0814b7cc0 100644 --- a/tests/format-c-3-prg.c +++ b/tests/format-c-3-prg.c @@ -35,7 +35,8 @@ #define _(string) gettext (string) /* Fallback definition. */ -#ifndef PRId8 +#if !defined PRId8 || PRI_MACROS_BROKEN +# undef PRId8 # define PRId8 "d" #endif diff --git a/tests/format-c-4-prg.c b/tests/format-c-4-prg.c index c764aac80..b91d97b19 100644 --- a/tests/format-c-4-prg.c +++ b/tests/format-c-4-prg.c @@ -35,7 +35,8 @@ #define _(string) gettext (string) /* Fallback definition. */ -#ifndef PRId8 +#if !defined PRId8 || PRI_MACROS_BROKEN +# undef PRId8 # define PRId8 "d" #endif