Pārlūkot izejas kodu

* enabled SETALLOC=1 for the compiler

git-svn-id: trunk@5300 -
florian 19 gadi atpakaļ
vecāks
revīzija
e619bd3235
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 3 0
      compiler/fpcdefs.inc
  2. 1 0
      compiler/options.pas

+ 3 - 0
compiler/fpcdefs.inc

@@ -21,6 +21,9 @@
 
 
 { This reduces the memory requirements a lot }
 { This reduces the memory requirements a lot }
 {$PACKENUM 1}
 {$PACKENUM 1}
+{$ifdef FPC_HAS_VARSETS}
+{$SETALLOC 1}
+{$endif FPC_HAS_VARSETS}
 
 
 { We don't use exceptions, so turn off the implicit
 { We don't use exceptions, so turn off the implicit
   exceptions in the constructors }
   exceptions in the constructors }

+ 1 - 0
compiler/options.pas

@@ -1890,6 +1890,7 @@ begin
   def_system_macro('RESSTRSECTIONS');
   def_system_macro('RESSTRSECTIONS');
   def_system_macro('FPC_HASFIXED64BITVARIANT');
   def_system_macro('FPC_HASFIXED64BITVARIANT');
   def_system_macro('FPC_HASINTERNALOLEVARIANT2VARIANTCAST');
   def_system_macro('FPC_HASINTERNALOLEVARIANT2VARIANTCAST');
+  def_system_macro('FPC_HAS_VARSETS');
 {$ifdef x86}
 {$ifdef x86}
   def_system_macro('INTERNAL_BACKTRACE');
   def_system_macro('INTERNAL_BACKTRACE');
 {$endif}
 {$endif}