* Do not use cprefix for cdecl DLL imports in Windows.

git-svn-id: trunk@3663 -
This commit is contained in:
yury 2006-05-24 23:53:10 +00:00
parent 4847fae030
commit 5d82676f78

View File

@ -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