* 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:
yury 2008-02-11 15:12:41 +00:00
parent e4997eaa45
commit ed86757898

View File

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