From: Bruno Haible Date: Mon, 20 Oct 2003 20:31:45 +0000 (+0000) Subject: Portability to AIX with cc. X-Git-Tag: v0.13~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c5f5ffcd34cdf77d8709fefbac990989158c8d;p=thirdparty%2Fgettext.git Portability to AIX with cc. --- 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;