[BusyBox-cvs] svn commit: trunk/busybox/scripts/config
vapier at busybox.net
vapier at busybox.net
Sat Apr 16 04:06:15 UTC 2005
Author: vapier
Date: 2005-04-15 22:06:14 -0600 (Fri, 15 Apr 2005)
New Revision: 10109
Log:
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.
Modified:
trunk/busybox/scripts/config/zconf.tab.c_shipped
Changeset:
Modified: trunk/busybox/scripts/config/zconf.tab.c_shipped
===================================================================
--- trunk/busybox/scripts/config/zconf.tab.c_shipped 2005-04-16 03:59:42 UTC (rev 10108)
+++ trunk/busybox/scripts/config/zconf.tab.c_shipped 2005-04-16 04:06:14 UTC (rev 10109)
@@ -227,7 +227,7 @@
# 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__
More information about the busybox-cvs
mailing list