1
0
Fork 0

Only define alloca on i386/x86_64

This commit is contained in:
herman ten brugge 2022-04-12 07:07:40 +02:00
parent a5588501ab
commit c1725a8f6e
1 changed files with 2 additions and 0 deletions

View File

@ -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