Parcourir la source

fix ffi_cif record for loongarch

Jinyang He il y a 1 an
Parent
commit
061c8b5f25
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      packages/libffi/src/ffi.pp

+ 3 - 0
packages/libffi/src/ffi.pp

@@ -398,6 +398,9 @@ type
   {$ifndef DARWIN}
     nfixedargs: cuint;
   {$endif}
+{$elseif defined(CPULOONGARCH64)}
+  loongarch_nfixedargs: cuint;
+  loongarch_unused: cuint;
 {$endif}
   end;