Ver Fonte

fix ffi_cif record for loongarch

Jinyang He há 1 ano atrás
pai
commit
061c8b5f25
1 ficheiros alterados com 3 adições e 0 exclusões
  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;