Browse Source

* max. 256 MB stack on win32

git-svn-id: trunk@464 -
florian 20 years ago
parent
commit
44ff8e4426
1 changed files with 7 additions and 2 deletions
  1. 7 2
      compiler/fpcdefs.inc

+ 7 - 2
compiler/fpcdefs.inc

@@ -5,9 +5,14 @@
   {$goto on}
   {$inline on}
 
-  { 1Mb stack }
+{$ifdef win32}
+  { 256MB stack }
+  { under windows the stack can't grow }
+  {$MEMORY 256000000}
+{$else win32}
+  { 1MB stack }
   {$MEMORY 1000000}
-
+{$endif win32}
   { This reduces the memory requirements a lot }
   {$PACKENUM 1}