Added code for handling the case of using `bison' and having no
`alloca'. Alloca is usually never called anyway, so we just use `malloc'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@850 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -112,6 +112,12 @@ static void sizecmd (char *);
|
||||
static void toolong (int);
|
||||
static int yylex (void);
|
||||
|
||||
/* This is for bison */
|
||||
|
||||
#if !defined(alloca) && !defined(HAVE_ALLOCA)
|
||||
#define alloca(x) malloc(x)
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
||||
%union {
|
||||
|
Reference in New Issue
Block a user