mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
+ support 16-bit pointers (i8086 near pointers) in defutil.def_cgsize
git-svn-id: branches/i8086@23816 -
This commit is contained in:
parent
6efe01eb3f
commit
f048e3fd3b
@ -1042,13 +1042,15 @@ implementation
|
||||
procvardef:
|
||||
begin
|
||||
if not tprocvardef(def).is_addressonly then
|
||||
{$if sizeof(pint) = 4}
|
||||
{$if sizeof(pint) = 2}
|
||||
result:=OS_32
|
||||
{$elseif sizeof(pint) = 4}
|
||||
result:=OS_64
|
||||
{$else} {$if sizeof(pint) = 8}
|
||||
{$elseif sizeof(pint) = 8}
|
||||
result:=OS_128
|
||||
{$else}
|
||||
internalerror(200707141)
|
||||
{$endif} {$endif}
|
||||
{$endif}
|
||||
else
|
||||
result:=OS_ADDR;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user