projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe023d
)
bernhardf reports with Bug 210:
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Apr 2005 04:06:14 +0000
(
04:06
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Apr 2005 04:06:14 +0000
(
04:06
-0000)
For certain non-gcc compilers, alloca_h is defined (included) but there,
no alloca() is declared. Fallback to malloc if _ALLOCA_H is defined but
still, there is no alloca() in the included _ALLOCA_H.
scripts/config/zconf.tab.c_shipped
patch
|
blob
|
history
diff --git
a/scripts/config/zconf.tab.c_shipped
b/scripts/config/zconf.tab.c_shipped
index a5f69a026a431b419ea368405b04bed26365941f..bc2225fb4102d2802407fe7e8b5fe3a886cbfe19 100644
(file)
--- a/
scripts/config/zconf.tab.c_shipped
+++ b/
scripts/config/zconf.tab.c_shipped
@@
-227,7
+227,7
@@
typedef union YYSTYPE {
# define YYSTACK_ALLOC alloca
# else
# ifndef YYSTACK_USE_ALLOCA
-# if defined (alloca) ||
defined (_ALLOCA_H
)
+# if defined (alloca) ||
(defined (_ALLOCA_H) && defined (__GNUC__)
)
# define YYSTACK_ALLOC alloca
# else
# ifdef __GNUC__