X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=2f6860d9ec5cf4cacfb5dfd43885aa75f522a6ac;hb=603d2944945d084c2b46af808808bcc2f2e73abe;hp=9ebc4e0bf22aebe3b3db6b86f6033d3a61d2c097;hpb=24f91832d5a3c29df5c5ac30273da0d0160fd05b;p=gnulib.git diff --git a/regex.h b/regex.h index 9ebc4e0bf..2f6860d9e 100644 --- a/regex.h +++ b/regex.h @@ -362,9 +362,11 @@ struct re_pattern_buffer /* If true, an anchor at a newline matches. */ unsigned newline_anchor : 1; +#ifdef emacs /* If true, multi-byte form in the `buffer' should be recognized as a multibyte character. */ unsigned multibyte : 1; +#endif /* [[[end pattern_buffer]]] */ }; @@ -410,15 +412,15 @@ typedef struct unfortunately clutters up the declarations a bit, but I think it's worth it. */ -#if __STDC__ +#if defined __STDC__ || defined PROTOTYPES #define _RE_ARGS(args) args -#else /* not __STDC__ */ +#else /* not __STDC__ || PROTOTYPES */ #define _RE_ARGS(args) () -#endif /* not __STDC__ */ +#endif /* not __STDC__ || PROTOTYPES */ /* Sets the current default syntax to SYNTAX, and return the old syntax. You can also simply assign to the `re_syntax_options' variable. */