diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c index 5369ea4..cdb7816 100644 --- a/src/aarch64/ffi.c +++ b/src/aarch64/ffi.c @@ -782,7 +782,9 @@ ffi_prep_cif_machdep (ffi_cif *cif) } } +#if defined (__APPLE__) cif->aarch64_nfixedargs = 0; +#endif return FFI_OK; }