From f0c5f5ffcd34cdf77d8709fefbac990989158c8d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 20 Oct 2003 20:31:45 +0000 Subject: [PATCH] Portability to AIX with cc. --- gettext-tools/src/ChangeLog | 6 ++++++ gettext-tools/src/xgettext.h | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 0124ef1cc..2dc5f640a 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2003-10-20 Bruno Haible + + Portability to AIX with cc. + * xgettext.h (struct flag_context_ty): Define the bitfields of type + 'unsigned int'. + 2003-10-20 Bruno Haible Portability to Solaris with cc. diff --git a/gettext-tools/src/xgettext.h b/gettext-tools/src/xgettext.h index 426af68dd..ba1f91425 100644 --- a/gettext-tools/src/xgettext.h +++ b/gettext-tools/src/xgettext.h @@ -55,11 +55,11 @@ typedef struct flag_context_ty flag_context_ty; struct flag_context_ty { /* Regarding the primary formatstring type. */ - enum is_format is_format1 : 3; - bool pass_format1 : 1; + /*enum is_format*/ unsigned int is_format1 : 3; + /*bool*/ unsigned int pass_format1 : 1; /* Regarding the secondary formatstring type. */ - enum is_format is_format2 : 3; - bool pass_format2 : 1; + /*enum is_format*/ unsigned int is_format2 : 3; + /*bool*/ unsigned int pass_format2 : 1; }; /* Null context. */ extern flag_context_ty null_context; -- 2.47.3