Przeglądaj źródła

* initialization for -Cs and -Ch removed - target defaults used instead

git-svn-id: trunk@4203 -
Tomas Hajny 19 lat temu
rodzic
commit
b5638411e1
1 zmienionych plików z 5 dodań i 2 usunięć
  1. 5 2
      ide/fpswitch.pas

+ 5 - 2
ide/fpswitch.pas

@@ -1184,10 +1184,13 @@ begin
 {$endif i386}
        { FPC mode}
        CompilerModeSwitches^.SetCurrSel(0);
+(* Use platform defaults for memory switches. *)
        { 128k stack }
-       MemorySwitches^.SetLongintItem(0,65536*2);
+{       MemorySwitches^.SetLongintItem(0,65536*2);}
+       MemorySwitches^.SetLongintItem(0,0);
        { 2 MB heap }
-       MemorySwitches^.SetLongintItem(1,1024*1024*2);
+{       MemorySwitches^.SetLongintItem(1,1024*1024*2);}
+       MemorySwitches^.SetLongintItem(1,0);
        { goto/lable allowed }
        SyntaxSwitches^.SetBooleanItem(1,true);
        { inline allowed }