mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:19:24 +02:00
* the results of MemAvail and MaxAvail changed to LongInt in the i8086 far data
memory models (TP7 compatibility) git-svn-id: trunk@28667 -
This commit is contained in:
parent
00c98edd29
commit
6735e717ef
@ -285,7 +285,7 @@
|
||||
{$endif DEBUG_TINY_HEAP}
|
||||
end;
|
||||
|
||||
function MemAvail: PtrUInt;
|
||||
function MemAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
var
|
||||
p: PTinyHeapBlock;
|
||||
begin
|
||||
@ -301,7 +301,7 @@
|
||||
end;
|
||||
end;
|
||||
|
||||
function MaxAvail: PtrUInt;
|
||||
function MaxAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
var
|
||||
p: PTinyHeapBlock;
|
||||
begin
|
||||
|
@ -26,6 +26,6 @@
|
||||
FreeList: Pointer = nil; { pointer to the first free block }
|
||||
HeapPtr: Pointer = nil; { pointer to the last free block }
|
||||
|
||||
function MemAvail: PtrUInt;
|
||||
function MaxAvail: PtrUInt;
|
||||
function MemAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
function MaxAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user