changeset 1722:e5e26318e6e5

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Thu, 24 Dec 1992 06:49:45 +0000
parents 6ba3bca4c3de
children 4023bea27d64
files src/regex.h
diffstat 1 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.h	Thu Dec 24 06:23:08 1992 +0000
+++ b/src/regex.h	Thu Dec 24 06:49:45 1992 +0000
@@ -393,12 +393,25 @@
    already been defined, as by Autoconf's AC_CONST, don't do anything.  */
 
 #if __STDC__
+
 #define _RE_ARGS(args) args
+
 #else /* not __STDC__ */
+
 #define _RE_ARGS(args) ()
-#if !const && !HAVE_CONST
+
+#ifndef USING_AUTOCONF
+
+#ifndef HAVE_CONST
+#define const
+#else
+#if !HAVE_CONST
 #define const
 #endif
+#endif
+
+#endif /* not USING_AUTOCONF */
+
 #endif /* not __STDC__ */
 
 /* Sets the current default syntax to SYNTAX, and return the old syntax.