Make TOK_alloca available for x86-64

TOK_alloca is now available on x86-64 so make put definition of
TOK_alloca outside the BCHECK conditional macro definition but test if
arch is i386 or x86-64. This makes C99 VLA works (understand compile) on
x86-64.
master
Thomas Preud'homme 2011-02-04 13:25:38 +01:00
parent 7f00523e2e
commit af26ac56bf
1 changed files with 2 additions and 0 deletions

View File

@ -237,6 +237,8 @@
DEF(TOK_memmove, "memmove")
DEF(TOK_strlen, "strlen")
DEF(TOK_strcpy, "strcpy")
#endif
#if defined __i386__ || defined __x86_64__
DEF(TOK_alloca, "alloca")
#endif