2
0
Эх сурвалжийг харах

* the FPC_TINYHEAP_HUGE define moved to tnyheaph.inc

git-svn-id: trunk@28666 -
nickysn 11 жил өмнө
parent
commit
00c98edd29

+ 0 - 6
rtl/inc/tinyheap.inc

@@ -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}

+ 6 - 0
rtl/inc/tnyheaph.inc

@@ -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 }