# HG changeset patch # User Dave Love # Date 961451986 0 # Node ID a1149eb06423cf9403c0d8b0b3a252ce6ff432ba # Parent 7d573ed000cef2f856aaa6694c11c2739f832ccb Test PROTOTYPES as well as __STDC__. diff -r 7d573ed000ce -r a1149eb06423 src/regex.h --- a/src/regex.h Mon Jun 19 18:00:49 2000 +0000 +++ b/src/regex.h Mon Jun 19 21:59:46 2000 +0000 @@ -412,15 +412,15 @@ 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. */