mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 10:09:17 +02:00
* another i8086 compilation fix for typinfo
git-svn-id: trunk@24602 -
This commit is contained in:
parent
a68ef39655
commit
fe48700483
@ -1256,11 +1256,13 @@ end;
|
|||||||
|
|
||||||
Procedure SetObjectProp(Instance: TObject; PropInfo : PPropInfo; Value: TObject);
|
Procedure SetObjectProp(Instance: TObject; PropInfo : PPropInfo; Value: TObject);
|
||||||
begin
|
begin
|
||||||
{$ifdef cpu64}
|
{$if defined(cpu64)}
|
||||||
SetInt64Prop(Instance,PropInfo,Int64(Value));
|
SetInt64Prop(Instance,PropInfo,Int64(Value));
|
||||||
{$else cpu64}
|
{$elseif defined(cpu32)}
|
||||||
SetOrdProp(Instance,PropInfo,Integer(Value));
|
SetOrdProp(Instance,PropInfo,Integer(Value));
|
||||||
{$endif cpu64}
|
{$elseif defined(cpu16)}
|
||||||
|
SetOrdProp(Instance,PropInfo,SmallInt(Value));
|
||||||
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user