diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/regex.h b/src/regex.h index 8217fc0ea01..ea701231c20 100644 --- a/src/regex.h +++ b/src/regex.h | |||
| @@ -393,12 +393,25 @@ typedef struct | |||
| 393 | already been defined, as by Autoconf's AC_CONST, don't do anything. */ | 393 | already been defined, as by Autoconf's AC_CONST, don't do anything. */ |
| 394 | 394 | ||
| 395 | #if __STDC__ | 395 | #if __STDC__ |
| 396 | |||
| 396 | #define _RE_ARGS(args) args | 397 | #define _RE_ARGS(args) args |
| 398 | |||
| 397 | #else /* not __STDC__ */ | 399 | #else /* not __STDC__ */ |
| 400 | |||
| 398 | #define _RE_ARGS(args) () | 401 | #define _RE_ARGS(args) () |
| 399 | #if !const && !HAVE_CONST | 402 | |
| 403 | #ifndef USING_AUTOCONF | ||
| 404 | |||
| 405 | #ifndef HAVE_CONST | ||
| 400 | #define const | 406 | #define const |
| 407 | #else | ||
| 408 | #if !HAVE_CONST | ||
| 409 | #define const | ||
| 410 | #endif | ||
| 401 | #endif | 411 | #endif |
| 412 | |||
| 413 | #endif /* not USING_AUTOCONF */ | ||
| 414 | |||
| 402 | #endif /* not __STDC__ */ | 415 | #endif /* not __STDC__ */ |
| 403 | 416 | ||
| 404 | /* Sets the current default syntax to SYNTAX, and return the old syntax. | 417 | /* Sets the current default syntax to SYNTAX, and return the old syntax. |