]> git.cworth.org Git - tar/blobdiff - gnu/regex_internal.h
Imported Upstream version 1.24
[tar] / gnu / regex_internal.h
index 4305be3dbddc96b37eba6b65639101c84adb3716..c8c37c32aa6b7b4afc354e044a6b0a80901aadbf 100644 (file)
@@ -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