mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 04:50:30 +02:00
* fixed test for 64 bit platforms
git-svn-id: trunk@10454 -
This commit is contained in:
parent
914a8ec4b4
commit
1885e247b4
@ -5,7 +5,11 @@ var
|
||||
q: qword;
|
||||
begin
|
||||
a := not(ptruint(7));
|
||||
{$ifdef cpu64}
|
||||
if a<>ptruint($fffffffffffffff8) then
|
||||
{$else}
|
||||
if a<>$fffffff8 then
|
||||
{$endif}
|
||||
halt(1);
|
||||
q := not(qword(7));
|
||||
if q<>qword($fffffffffffffff8) then
|
||||
|
Loading…
Reference in New Issue
Block a user