*** empty log message ***
authorKarl Berry <karl@freefriends.org>
Wed, 4 Nov 1992 20:39:56 +0000 (20:39 +0000)
committerKarl Berry <karl@freefriends.org>
Wed, 4 Nov 1992 20:39:56 +0000 (20:39 +0000)
regex.h

diff --git a/regex.h b/regex.h
index 6ae4f198983b79a7c7422c132aa302886913501a..87824ef474fd81a793b9121ffd873b2539cd8614 100644 (file)
--- 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.  */