mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* the FPC_TINYHEAP_HUGE define moved to tnyheaph.inc
git-svn-id: trunk@28666 -
This commit is contained in:
parent
706a1d8712
commit
00c98edd29
@ -24,12 +24,6 @@
|
||||
It *can* become zero sized, when all the memory inside of it is allocated, in
|
||||
which case, HeapPtr will become equal to HeapEnd. }
|
||||
|
||||
{$ifdef cpui8086}
|
||||
{$if defined(FPC_X86_DATA_FAR) or defined(FPC_X86_DATA_HUGE)}
|
||||
{$define FPC_TINYHEAP_HUGE}
|
||||
{$endif}
|
||||
{$endif cpui8086}
|
||||
|
||||
{$ifdef FPC_TINYHEAP_HUGE}
|
||||
{$HugePointerArithmeticNormalization On}
|
||||
{$HugePointerComparisonNormalization On}
|
||||
|
@ -13,6 +13,12 @@
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$ifdef cpui8086}
|
||||
{$if defined(FPC_X86_DATA_FAR) or defined(FPC_X86_DATA_HUGE)}
|
||||
{$define FPC_TINYHEAP_HUGE}
|
||||
{$endif}
|
||||
{$endif cpui8086}
|
||||
|
||||
var
|
||||
{ these vars are TP7-compatible }
|
||||
HeapOrg: Pointer = nil; { start of heap }
|
||||
|
Loading…
Reference in New Issue
Block a user