diff options
Diffstat (limited to 'gl/regex_internal.h')
| -rw-r--r-- | gl/regex_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/regex_internal.h b/gl/regex_internal.h index 2cb8c4d0..5aa5aa28 100644 --- a/gl/regex_internal.h +++ b/gl/regex_internal.h | |||
| @@ -467,6 +467,8 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx, | |||
| 467 | # else | 467 | # else |
| 468 | /* alloca is implemented with malloc, so just use malloc. */ | 468 | /* alloca is implemented with malloc, so just use malloc. */ |
| 469 | # define __libc_use_alloca(n) 0 | 469 | # define __libc_use_alloca(n) 0 |
| 470 | # undef alloca | ||
| 471 | # define alloca(n) malloc (n) | ||
| 470 | # endif | 472 | # endif |
| 471 | #endif | 473 | #endif |
| 472 | 474 | ||
