mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +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 }
|
||||
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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user