From ddf71ba349a6aa8072839d33b2eaa330845b16db Mon Sep 17 00:00:00 2001 From: ketmar Date: Wed, 11 Sep 2013 05:01:13 +0300 Subject: [PATCH] added alloca() to the list of known functions --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 5a63c54..abe753f 100644 --- a/src/main.c +++ b/src/main.c @@ -107,10 +107,10 @@ void init () sintprintf (p, B_VOID, '(', typeID_uint, INTERNAL_ARGEND, '*', -1); xdeclare_function (&Global, INTERN_alloca, INTERN_alloca, enter_type (p), nodcl, xargs, FUNCP_NOTHROW, 0, 0); -//#ifdef __GNUC__ -// xdeclare_function (&Global, RESERVED_alloca, RESERVED_alloca, -// enter_type (p), nodcl, xargs, FUNCP_NOTHROW, 0, 0); -//#endif +#ifdef __GNUC__ + xdeclare_function (&Global, RESERVED_alloca, RESERVED_alloca, + enter_type (p), nodcl, xargs, FUNCP_NOTHROW, 0, 0); +#endif name_derrive_union = new_symbol (DERRIVE_UNION); -- 2.11.4.GIT