From 0944b4a59ebb81c899c874588eec1602cdbf8ed3 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 19 Jun 2000 21:59:46 +0000 Subject: [PATCH] Test PROTOTYPES as well as __STDC__. --- regex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regex.h b/regex.h index 9ee2060a1e..2f6860d9ec 100644 --- a/regex.h +++ b/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. */ -- 2.30.2