Fix some incompatibilities with gcc -ansi -pedantic.
[gnulib.git] / lib / regex_internal.h
index cc9b5b7..9a978b2 100644 (file)
@@ -348,7 +348,7 @@ typedef struct
     Idx idx;                   /* for BACK_REF */
     re_context_type ctx_type;  /* for ANCHOR */
   } opr;
-#if __GNUC__ >= 2
+#if __GNUC__ >= 2 && !__STRICT_ANSI__
   re_token_type_t type : 8;
 #else
   re_token_type_t type;