X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Fregex_internal.h;fp=gnu%2Fregex_internal.h;h=c8c37c32aa6b7b4afc354e044a6b0a80901aadbf;hp=4305be3dbddc96b37eba6b65639101c84adb3716;hb=de7372b23c3da92fbfaea2d1ac592f0b2ba87914;hpb=fbbfb9406a82e647ce27b6462b11a802fa48f31a diff --git a/gnu/regex_internal.h b/gnu/regex_internal.h index 4305be3..c8c37c3 100644 --- a/gnu/regex_internal.h +++ b/gnu/regex_internal.h @@ -469,6 +469,8 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx, # else /* alloca is implemented with malloc, so just use malloc. */ # define __libc_use_alloca(n) 0 +# undef alloca +# define alloca(n) malloc (n) # endif #endif