[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gettext 0.11.4 and AIX 4.3.2
From: |
Bruno Haible |
Subject: |
Re: Gettext 0.11.4 and AIX 4.3.2 |
Date: |
Fri, 2 Aug 2002 22:00:36 +0200 (CEST) |
Albert Chin writes:
> <inttypes.h> on AIX 4.3.2 has:
> #define PRId8 %hd
>
> and tests/format-c-3-prg.c has:
> s = gettext ("father of %"PRId8" children");
>
Thanks for the report. Please use this fix.
Bruno
diff -r -c3 --exclude='*.po*' --exclude='*.info*' --exclude='*.html'
--exclude=Makefile.in --exclude=aclocal.m4 --exclude=configure
gettext-0/tests/format-c-3-prg.c gettext-1/tests/format-c-3-prg.c
*** gettext-0/tests/format-c-3-prg.c 2002-07-21 15:52:17.000000000 +0200
--- gettext-1/tests/format-c-3-prg.c 2002-07-30 03:27:53.000000000 +0200
***************
*** 35,41 ****
#define _(string) gettext (string)
/* Fallback definition. */
! #ifndef PRId8
# define PRId8 "d"
#endif
--- 35,42 ----
#define _(string) gettext (string)
/* Fallback definition. */
! #if !defined PRId8 || PRI_MACROS_BROKEN
! # undef PRId8
# define PRId8 "d"
#endif
diff -r -c3 --exclude='*.po*' --exclude='*.info*' --exclude='*.html'
--exclude=Makefile.in --exclude=aclocal.m4 --exclude=configure
gettext-0/tests/format-c-4-prg.c gettext-1/tests/format-c-4-prg.c
*** gettext-0/tests/format-c-4-prg.c 2002-07-21 16:29:31.000000000 +0200
--- gettext-1/tests/format-c-4-prg.c 2002-07-30 03:27:53.000000000 +0200
***************
*** 35,41 ****
#define _(string) gettext (string)
/* Fallback definition. */
! #ifndef PRId8
# define PRId8 "d"
#endif
--- 35,42 ----
#define _(string) gettext (string)
/* Fallback definition. */
! #if !defined PRId8 || PRI_MACROS_BROKEN
! # undef PRId8
# define PRId8 "d"
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Gettext 0.11.4 and AIX 4.3.2,
Bruno Haible <=