* fixed windows compilation after r15599

git-svn-id: trunk@15606 -
This commit is contained in:
Jonas Maebe 2010-07-19 09:24:26 +00:00
parent 62ece31615
commit 0207e5f8cd

View File

@ -124,8 +124,13 @@ end;
procedure TThread.AfterConstruction;
begin
inherited AfterConstruction;
// enable for all platforms once http://bugs.freepascal.org/view.php?id=16884
// is fixed for all platforms (in case the fix for non-unix platforms also
// requires this field at least)
{$ifdef unix}
if not FInitialSuspended then
Resume;
{$endif}
end;