浏览代码

* limit IDE stack to 3M on windows to avoid trouble at IDE startup at least on XP x64

git-svn-id: trunk@12650 -
florian 16 年之前
父节点
当前提交
56ef86333d
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      ide/fp.pas

+ 5 - 2
ide/fp.pas

@@ -14,12 +14,15 @@
  **********************************************************************}
  **********************************************************************}
 program FP;
 program FP;
 
 
-{$ifdef IncRes}
 {$ifdef Windows}
 {$ifdef Windows}
+{ some windows versions, namely at least XP x64 don't like if the IDE stack
+  is too big }
+{$maxstacksize 3000000}
+{$ifdef IncRes}
 {$R fpw32t.rc}
 {$R fpw32t.rc}
 {$R fpw32ico.rc}
 {$R fpw32ico.rc}
-{$endif Windows}
 {$endif IncRes}
 {$endif IncRes}
+{$endif Windows}
 
 
 {$I globdir.inc}
 {$I globdir.inc}
 (**********************************************************************)
 (**********************************************************************)