diff options
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 | |||
| 412 | unfortunately clutters up the declarations a bit, but I think it's | 412 | unfortunately clutters up the declarations a bit, but I think it's |
| 413 | worth it. */ | 413 | worth it. */ |
| 414 | 414 | ||
| 415 | #if __STDC__ | 415 | #if defined __STDC__ || defined PROTOTYPES |
| 416 | 416 | ||
| 417 | #define _RE_ARGS(args) args | 417 | #define _RE_ARGS(args) args |
| 418 | 418 | ||
| 419 | #else /* not __STDC__ */ | 419 | #else /* not __STDC__ || PROTOTYPES */ |
| 420 | 420 | ||
| 421 | #define _RE_ARGS(args) () | 421 | #define _RE_ARGS(args) () |
| 422 | 422 | ||
| 423 | #endif /* not __STDC__ */ | 423 | #endif /* not __STDC__ || PROTOTYPES */ |
| 424 | 424 | ||
| 425 | /* Sets the current default syntax to SYNTAX, and return the old syntax. | 425 | /* Sets the current default syntax to SYNTAX, and return the old syntax. |
| 426 | You can also simply assign to the `re_syntax_options' variable. */ | 426 | You can also simply assign to the `re_syntax_options' variable. */ |