Only define alloca on i386/x86_64
This commit is contained in:
parent
a5588501ab
commit
c1725a8f6e
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue