diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-16 04:06:14 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-16 04:06:14 +0000 |
commit | 626241285ed872837b80216f45e47d8d21fe0a2c (patch) | |
tree | 2d145869db3f7d55978a2fe35b5e0126386551f9 | |
parent | 5e819851d59966f9be446bfbf805e71cf0db2427 (diff) | |
download | busybox-w32-626241285ed872837b80216f45e47d8d21fe0a2c.tar.gz busybox-w32-626241285ed872837b80216f45e47d8d21fe0a2c.tar.bz2 busybox-w32-626241285ed872837b80216f45e47d8d21fe0a2c.zip |
bernhardf reports with Bug 210:
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.
git-svn-id: svn://busybox.net/trunk/busybox@10109 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | scripts/config/zconf.tab.c_shipped | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/zconf.tab.c_shipped b/scripts/config/zconf.tab.c_shipped index a5f69a026..bc2225fb4 100644 --- a/scripts/config/zconf.tab.c_shipped +++ b/scripts/config/zconf.tab.c_shipped | |||
@@ -227,7 +227,7 @@ typedef union YYSTYPE { | |||
227 | # define YYSTACK_ALLOC alloca | 227 | # define YYSTACK_ALLOC alloca |
228 | # else | 228 | # else |
229 | # ifndef YYSTACK_USE_ALLOCA | 229 | # ifndef YYSTACK_USE_ALLOCA |
230 | # if defined (alloca) || defined (_ALLOCA_H) | 230 | # if defined (alloca) || (defined (_ALLOCA_H) && defined (__GNUC__)) |
231 | # define YYSTACK_ALLOC alloca | 231 | # define YYSTACK_ALLOC alloca |
232 | # else | 232 | # else |
233 | # ifdef __GNUC__ | 233 | # ifdef __GNUC__ |