- disabled varsets for big endian targets for now since it breaks sets

git-svn-id: trunk@5382 -
This commit is contained in:
Jonas Maebe 2006-11-14 20:47:11 +00:00
parent 76cd84f2a1
commit 41c23b8904

View File

@ -1011,7 +1011,10 @@ implementation
{# returns true, if the type passed is a varset }
function is_varset(p : tdef) : boolean;
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;