Browse Source

* Windows CE does not support SetThreadStackGuarantee

florian 1 năm trước cách đây
mục cha
commit
a2f2af87d2
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      rtl/win/systhrd.inc

+ 2 - 0
rtl/win/systhrd.inc

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