mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 16:50:25 +02:00
* Do not use cprefix for cdecl DLL imports in Windows.
git-svn-id: trunk@3663 -
This commit is contained in:
parent
4847fae030
commit
5d82676f78
@ -2100,7 +2100,11 @@ const
|
||||
{ keep normal mangledname }
|
||||
end;
|
||||
else
|
||||
result:=maybe_cprefix(pd.import_name^);
|
||||
if target_info.system in system_all_windows then
|
||||
{ cprefix is not used in DLL imports under Windows }
|
||||
result:=pd.import_name^
|
||||
else
|
||||
result:=maybe_cprefix(pd.import_name^);
|
||||
end;
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user