Explorar o código

+ enabled {$hugecode} for the test tcalcla1.pp in i8086 large memory model,
because in this model, the code of the test exceeds 64kb

git-svn-id: trunk@27699 -

nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
4bbf2e8618
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests/test/cg/tcalcla1.pp

+ 3 - 0
tests/test/cg/tcalcla1.pp

@@ -29,6 +29,9 @@ program tcalcla1;
 {$endif}
 {$ifdef cpu8086}
   {$define cpusmall}
+  {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
+    {$hugecode on}
+  {$endif}
 {$endif}
 
  const