diff options
author | Dave Love <fx@gnu.org> | 2000-06-19 21:59:46 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-06-19 21:59:46 +0000 |
commit | 2a90cd71a89f85f338a1a8ab99d94ac584376e23 (patch) | |
tree | e35bdc50e78c8ac4fc086a47a49fc118f7d000ec /src | |
parent | 14977feacfb0019fd14dafe07a854435727606b7 (diff) | |
download | emacs-2a90cd71a89f85f338a1a8ab99d94ac584376e23.tar.gz |
Test PROTOTYPES as well as __STDC__.
Diffstat (limited to 'src')
-rw-r--r-- | src/regex.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. */ |