projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
[pspp]
/
lib
/
regex_internal.h
diff --git
a/lib/regex_internal.h
b/lib/regex_internal.h
index e1b4c61b36e0b0974077fa2bae9387c3e857aad2..dc94e2cbcbc333bda41ba36ec6484fe4148b2db1 100644
(file)
--- a/
lib/regex_internal.h
+++ b/
lib/regex_internal.h
@@
-467,6
+467,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