changeset 13:64f55f73d1ab

*** empty log message ***
author Karl Berry <karl@freefriends.org>
date Wed, 04 Nov 1992 20:39:56 +0000
parents f8dce34b5ab0
children 3eda3e12f7ba
files regex.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/regex.h
+++ b/regex.h
@@ -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.  */