From 5c6e8d8401af3d04bba4b35966149348deae1a4a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Nov 1992 20:39:56 +0000 Subject: [PATCH] *** empty log message *** --- regex.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/regex.h b/regex.h index 6ae4f19898..87824ef474 100644 --- a/regex.h +++ b/regex.h @@ -378,14 +378,17 @@ typedef struct 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. */ -- 2.30.2