Browse Source

* win64 can't grow the stack either so make $memory big enough

git-svn-id: trunk@4609 -
florian 19 năm trước cách đây
mục cha
commit
bfa6ec847a
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      compiler/fpcdefs.inc

+ 6 - 2
compiler/fpcdefs.inc

@@ -6,11 +6,15 @@
   {$inline on}
 
 {$ifdef win32}
-  { 256MB stack }
+  { 256 MB stack }
   { under windows the stack can't grow }
   {$MEMORY 256000000}
+{$elsif win64}
+  { 512 MB stack }
+  { under windows the stack can't grow }
+  {$MEMORY 512000000}
 {$else win32}
-  { 1MB stack }
+  { 1 MB stack }
   {$MEMORY 1000000}
 {$endif win32}
   { This reduces the memory requirements a lot }