mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:39:26 +02:00
+ generate funcdef for external procs, that don't have an import dll
This commit is contained in:
parent
2102fbdc97
commit
db843287a2
@ -75,8 +75,11 @@ implementation
|
||||
if assigned(def) and (def.typ=procdef) then
|
||||
begin
|
||||
proc := tprocdef(def);
|
||||
if (po_external in proc.procoptions) and (po_has_importdll in proc.procoptions) then
|
||||
WriteImportDll(list,proc);
|
||||
if po_external in proc.procoptions then
|
||||
if po_has_importdll in proc.procoptions then
|
||||
WriteImportDll(list,proc)
|
||||
else
|
||||
thlcgwasm(hlcg).g_procdef(list,proc);
|
||||
end;
|
||||
end;
|
||||
cur_unit:=tused_unit(usedunits.First);
|
||||
|
Loading…
Reference in New Issue
Block a user