mirror of https://repo.or.cz/tinycc.git
Only define alloca on i386/x86_64
This commit is contained in:
parent
a5588501ab
commit
c1725a8f6e
|
@ -19,7 +19,9 @@ typedef union { long long __ll; long double __ld; } max_align_t;
|
|||
#undef offsetof
|
||||
#define offsetof(type, field) ((size_t)&((type *)0)->field)
|
||||
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
void *alloca(size_t size);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue