mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
Don't rely on whether alloc is #defined; that is in the user's name spac.
This commit is contained in:
@@ -263,7 +263,7 @@ b4_syncline([@oline@], [@ofile@])[
|
||||
# define alloca _alloca
|
||||
# else
|
||||
# define YYSTACK_ALLOC alloca
|
||||
# if (! defined (alloca) && ! defined (_ALLOCA_H) && ! defined (_STDLIB_H) \
|
||||
# if (! defined (_ALLOCA_H) && ! defined (_STDLIB_H) \
|
||||
&& (defined (__STDC__) || defined (__cplusplus)))
|
||||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||||
# ifndef _STDLIB_H
|
||||
|
||||
Reference in New Issue
Block a user