Don't rely on whether alloc is #defined; that is in the user's name spac.

This commit is contained in:
Paul Eggert
2005-09-21 20:08:38 +00:00
parent 2fc90989b7
commit 62c4328e00
3 changed files with 3 additions and 4 deletions

View File

@@ -7,8 +7,7 @@
* data/yacc.c [YYSTACK_USE_ALLOCA && !defined __GNUC__ && ! defined
__BUILTIN_VA_ARG_INCR && ! defined _AIX && ! defined _MSC_VER &&
(defined alloca || defined _ALLOCA_H)]: Don't include <stdlib.h>;
not needed in this case.
defined _ALLOCA_H]: Don't include <stdlib.h>; not needed in this case.
* tests/torture.at (Exploding the Stack Size with Alloca): Adjust
to match yacc.c, to test more hosts.