Fix loongarch64 soft-float build (#816) (#817)
author杨屿杰 <30362409+scylaac@users.noreply.github.com>
Thu, 15 Feb 2024 12:51:40 +0000 (20:51 +0800)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2024 12:51:40 +0000 (07:51 -0500)
src/loongarch64/ffi.c

index b5ac18ea97e2f485506b85435aa64fa0045f5b68..93c337749f171d599679bbc3b500b9afc6a166e6 100644 (file)
@@ -59,7 +59,9 @@
 */
 typedef struct call_context
 {
+#if !defined(__loongarch_soft_float)
   ABI_FLOAT fa[8];
+#endif
   size_t a[10];
 } call_context;