diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 04:06:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 04:06:14 +0000 |
commit | a9ae74d25bec8208d56fc6619c610f0d6849412c (patch) | |
tree | 2d145869db3f7d55978a2fe35b5e0126386551f9 | |
parent | afe023d136269cbb470b587b2508c3239a2e5914 (diff) | |
download | 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.
-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 { # 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__ |