summaryrefslogtreecommitdiff
path: root/src/aarch64/ffi.c
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-11-12 07:00:59 -0500
committerAnthony Green <green@moxielogic.com>2014-11-12 07:00:59 -0500
commit20562ac0427c3578250d04c6e34fb0127d4551cf (patch)
treec710524f1427eb1d3855f65e2be009d37f4f1c1d /src/aarch64/ffi.c
parenta0bdc5250cd36f1d2578358e33299fd2408091ac (diff)
downloadlibffi-20562ac0427c3578250d04c6e34fb0127d4551cf.tar.gz
Fix for AArch64. Release as 3.2.1.v3.2.1
Diffstat (limited to 'src/aarch64/ffi.c')
-rw-r--r--src/aarch64/ffi.c2
1 files changed, 2 insertions, 0 deletions
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;
}