Mercurial > hg > octave-kai > gnulib-hg
changeset 2614:02b772ba9004
Test PROTOTYPES as well as __STDC__.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 19 Jun 2000 21:59:46 +0000 |
parents | fd38c0633be7 |
children | 31b85fc23c04 |
files | regex.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/regex.h +++ b/regex.h @@ -412,15 +412,15 @@ 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. */