# HG changeset patch # User Karl Berry # Date 720909596 0 # Node ID 64f55f73d1abc147f1b553c4e0d3a7cce6f71418 # Parent f8dce34b5ab03115540870615815c22e2d7efc73 *** empty log message *** diff -r f8dce34b5ab0 -r 64f55f73d1ab regex.h --- a/regex.h Sun Nov 01 05:44:30 1992 +0000 +++ b/regex.h Wed Nov 04 20:39:56 1992 +0000 @@ -378,14 +378,17 @@ unfortunately clutters up the declarations a bit, but I think it's worth it. - We also have to undo `const' if we are not ANSI. */ + We also have to undo `const' if we are not ANSI and if it hasn't + previously being taken care of. */ #if __STDC__ #define _RE_ARGS(args) args #else #define _RE_ARGS(args) () +#ifndef const #define const #endif +#endif /* Sets the current default syntax to SYNTAX, and return the old syntax. You can also simply assign to the `re_syntax_options' variable. */