summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-12-24 06:49:45 +0000
committerJim Blandy <jimb@redhat.com>1992-12-24 06:49:45 +0000
commit0783dc9abe202789d51c38cea2f894589af633d4 (patch)
tree77655f46ffe11c4d906b71e54140431f348f656f /src/regex.h
parentc8e3cbe03e7a0f9a6d11403750713276ded1ade8 (diff)
downloademacs-0783dc9abe202789d51c38cea2f894589af633d4.tar.gz
*** empty log message ***
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/regex.h b/src/regex.h
index 8217fc0ea01..ea701231c20 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -393,12 +393,25 @@ typedef struct
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.