Commit 18b74ce54afab45fcf2a7d4eb86bb2ce9db8cec8

Richard Henderson 2014-10-21T13:00:34

aarch64: Fix non-apple compilation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
 }