Browse Source

* enabled SETALLOC=1 for the compiler

git-svn-id: trunk@5300 -
florian 19 years ago
parent
commit
e619bd3235
2 changed files with 4 additions and 0 deletions
  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 }
 {$PACKENUM 1}
+{$ifdef FPC_HAS_VARSETS}
+{$SETALLOC 1}
+{$endif FPC_HAS_VARSETS}
 
 { We don't use exceptions, so turn off the implicit
   exceptions in the constructors }

+ 1 - 0
compiler/options.pas

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