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
commitfdbfa70fb8ab760b4de7bc6098109f235d01b42d (patch)
tree09b12e528ad141b3003f01d1348e5386da99820a /src/regex.h
parenteb075e6084b14e8895379f2ef16d3d6b54a17d3a (diff)
downloademacs-fdbfa70fb8ab760b4de7bc6098109f235d01b42d.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.