From 110a4edc154f6fb73ef3d312630455f68641123f Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 16 May 2009 22:30:13 +0200 Subject: drop alloca #define (Because GNU's alloca.h unconditionally #undef's alloca) Also, remove gcc specific sections in headers. and instead change tests such that gcc does not use them. --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index bca1946..ade77c0 100644 --- a/libtcc.c +++ b/libtcc.c @@ -694,7 +694,7 @@ static void put_extern_sym2(Sym *sym, Section *section, case TOK_memset: case TOK_strlen: case TOK_strcpy: - case TOK__alloca: + case TOK_alloca: strcpy(buf, "__bound_"); strcat(buf, name); name = buf; -- cgit v1.3.1