mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 06:09:22 +02:00
* In MacPas mode, externals have realname with target_info Cprefix
git-svn-id: trunk@16330 -
This commit is contained in:
parent
de51c4734c
commit
2003c2af70
@ -2473,8 +2473,10 @@ const
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{In MacPas a single "external" has the same effect as "external name 'xxx'" }
|
{In MacPas a single "external" has the same effect as "external name 'xxx'" }
|
||||||
|
{ but according to MacPas mode description
|
||||||
|
Cprefix should still be used PM }
|
||||||
if (m_mac in current_settings.modeswitches) then
|
if (m_mac in current_settings.modeswitches) then
|
||||||
result:=tprocdef(pd).procsym.realname;
|
result:=target_info.Cprefix+tprocdef(pd).procsym.realname;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user