Fix handling of variadic calls on Darwin/AArch64

This commit is contained in:
Ole André Vadla Ravnås
2014-04-06 20:59:25 +02:00
parent dc33cb3c99
commit 419503f409
2 changed files with 41 additions and 2 deletions
+5 -1
View File
@@ -47,8 +47,12 @@ typedef enum ffi_abi
/* ---- Internal ---- */
#if defined (__APPLE__)
#define FFI_TARGET_SPECIFIC_VARIADIC
#define FFI_EXTRA_CIF_FIELDS unsigned aarch64_flags; unsigned aarch64_nfixedargs
#else
#define FFI_EXTRA_CIF_FIELDS unsigned aarch64_flags
#endif
#define AARCH64_FFI_WITH_V_BIT 0