mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
Fix handling of variadic calls on Darwin/AArch64
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user