mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* Pass const record parameters by reference for all calling conventions on i386-wince. It is needed to be Windows unit Delphi compatible, since WinAPI functions are cdecl on wince.
git-svn-id: trunk@10296 -
This commit is contained in:
parent
e4997eaa45
commit
ed86757898
@ -182,7 +182,7 @@ unit cpupara;
|
||||
result:=
|
||||
(not(calloption in [pocall_cdecl,pocall_cppdecl,pocall_mwpascal]) and
|
||||
(def.size>sizeof(aint))) or
|
||||
((calloption = pocall_mwpascal) and
|
||||
(((calloption = pocall_mwpascal) or (target_info.system=system_i386_wince)) and
|
||||
(varspez=vs_const));
|
||||
end;
|
||||
arraydef :
|
||||
|
Loading…
Reference in New Issue
Block a user