aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2009-05-16 22:30:13 +0200
committergrischka <grischka>2009-05-16 22:30:13 +0200
commit110a4edc154f6fb73ef3d312630455f68641123f (patch)
tree341bfb7efbeacd9cf78ae351d2ed931df7f03d08 /libtcc.c
parent68310299b67bef763ba1622dac2aec534e096bf1 (diff)
downloadtinycc-110a4edc154f6fb73ef3d312630455f68641123f.tar.gz
tinycc-110a4edc154f6fb73ef3d312630455f68641123f.tar.bz2
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.
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c2
1 files changed, 1 insertions, 1 deletions
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;