Explorar o código

* the FPC_TINYHEAP_HUGE define moved to tnyheaph.inc

git-svn-id: trunk@28666 -
nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
00c98edd29
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 0 6
      rtl/inc/tinyheap.inc
  2. 6 0
      rtl/inc/tnyheaph.inc

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