mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +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}
|
{$endif DEBUG_TINY_HEAP}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function MemAvail: PtrUInt;
|
function MemAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||||
var
|
var
|
||||||
p: PTinyHeapBlock;
|
p: PTinyHeapBlock;
|
||||||
begin
|
begin
|
||||||
@ -301,7 +301,7 @@
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function MaxAvail: PtrUInt;
|
function MaxAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||||
var
|
var
|
||||||
p: PTinyHeapBlock;
|
p: PTinyHeapBlock;
|
||||||
begin
|
begin
|
||||||
|
@ -26,6 +26,6 @@
|
|||||||
FreeList: Pointer = nil; { pointer to the first free block }
|
FreeList: Pointer = nil; { pointer to the first free block }
|
||||||
HeapPtr: Pointer = nil; { pointer to the last free block }
|
HeapPtr: Pointer = nil; { pointer to the last free block }
|
||||||
|
|
||||||
function MemAvail: PtrUInt;
|
function MemAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||||
function MaxAvail: PtrUInt;
|
function MaxAvail: {$ifdef FPC_TINYHEAP_HUGE}LongInt{$else}PtrUInt{$endif};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user