Kaynağa Gözat

* set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517

git-svn-id: trunk@35564 -
florian 8 yıl önce
ebeveyn
işleme
e12e47c01a
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      compiler/pp.pas

+ 1 - 0
compiler/pp.pas

@@ -152,6 +152,7 @@ program pp;
   { 256 MB stack }
   { under windows the stack can't grow }
   {$MAXSTACKSIZE 256000000}
+  {$setpeflags $20}
 {$else win32}
   {$ifdef win64}
     { 512 MB stack }