From: Dave Love Date: Mon, 19 Jun 2000 21:59:46 +0000 (+0000) Subject: Test PROTOTYPES as well as __STDC__. X-Git-Tag: emacs-pretest-21.0.90~3231 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a90cd71a89f85f338a1a8ab99d94ac584376e23;p=emacs.git Test PROTOTYPES as well as __STDC__. --- diff --git a/src/regex.h b/src/regex.h index 9ee2060a1ed..2f6860d9ec5 100644 --- a/src/regex.h +++ b/src/regex.h @@ -412,15 +412,15 @@ typedef struct unfortunately clutters up the declarations a bit, but I think it's worth it. */ -#if __STDC__ +#if defined __STDC__ || defined PROTOTYPES #define _RE_ARGS(args) args -#else /* not __STDC__ */ +#else /* not __STDC__ || PROTOTYPES */ #define _RE_ARGS(args) () -#endif /* not __STDC__ */ +#endif /* not __STDC__ || PROTOTYPES */ /* Sets the current default syntax to SYNTAX, and return the old syntax. You can also simply assign to the `re_syntax_options' variable. */