changeset 1544:8c3ffcd3faf7

*** empty log message ***
author Karl Berry <karl@gnu.org>
date Wed, 04 Nov 1992 20:39:56 +0000
parents acdf9d64d086
children 9ff238dd8a35
files src/regex.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.h	Tue Nov 03 22:47:23 1992 +0000
+++ b/src/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.  */