mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:25:58 +02:00
- disabled varsets for big endian targets for now since it breaks sets
git-svn-id: trunk@5382 -
This commit is contained in:
parent
76cd84f2a1
commit
41c23b8904
@ -1011,7 +1011,10 @@ implementation
|
|||||||
{# returns true, if the type passed is a varset }
|
{# returns true, if the type passed is a varset }
|
||||||
function is_varset(p : tdef) : boolean;
|
function is_varset(p : tdef) : boolean;
|
||||||
begin
|
begin
|
||||||
result:=(p.typ=setdef) and not(p.size=4);
|
if (target_info.endian = endian_little) then
|
||||||
|
result:=(p.typ=setdef) and not(p.size=4)
|
||||||
|
else
|
||||||
|
result:=false;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user