From: Karl Berry Date: Wed, 4 Nov 1992 20:39:56 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c6e8d8401af3d04bba4b35966149348deae1a4a;p=pspp *** empty log message *** --- 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. */