summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Frysinger2005-04-16 04:06:14 +0000
committerMike Frysinger2005-04-16 04:06:14 +0000
commita9ae74d25bec8208d56fc6619c610f0d6849412c (patch)
tree2d145869db3f7d55978a2fe35b5e0126386551f9 /scripts
parentafe023d136269cbb470b587b2508c3239a2e5914 (diff)
downloadbusybox-a9ae74d25bec8208d56fc6619c610f0d6849412c.zip
busybox-a9ae74d25bec8208d56fc6619c610f0d6849412c.tar.gz
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config/zconf.tab.c_shipped2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/zconf.tab.c_shipped b/scripts/config/zconf.tab.c_shipped
index a5f69a0..bc2225f 100644
--- 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__