Pārlūkot izejas kodu

* Windows CE does not support SetThreadStackGuarantee

florian 1 gadu atpakaļ
vecāks
revīzija
a2f2af87d2
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      rtl/win/systhrd.inc

+ 2 - 0
rtl/win/systhrd.inc

@@ -229,7 +229,9 @@ var
         if ThreadID=TThreadID(0) then
         if ThreadID=TThreadID(0) then
           begin
           begin
             InitThread(ti.stklen);
             InitThread(ti.stklen);
+{$ifndef wince}            
             SetThreadStackGuarantee(@StackMargin);
             SetThreadStackGuarantee(@StackMargin);
+{$endif wince}            
           end;
           end;
 
 
         dispose(pthreadinfo(param));
         dispose(pthreadinfo(param));