]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to AIX with cc.
authorBruno Haible <bruno@clisp.org>
Mon, 20 Oct 2003 20:31:45 +0000 (20:31 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:05 +0000 (12:11 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/xgettext.h

index 0124ef1cc509881224197af51bf419d2c534b6f0..2dc5f640a0cb5536f31b6ef255eb24bac301eb79 100644 (file)
@@ -1,3 +1,9 @@
+2003-10-20  Bruno Haible  <bruno@clisp.org>
+
+       Portability to AIX with cc.
+       * xgettext.h (struct flag_context_ty): Define the bitfields of type
+       'unsigned int'.
+
 2003-10-20  Bruno Haible  <bruno@clisp.org>
 
        Portability to Solaris with cc.
index 426af68dde2047f6c215999bccc80fda5148dc29..ba1f9142587bd9fc14fdb9b050c6e3893b32a7e0 100644 (file)
@@ -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;