Do not use sets for ESysXX as the values are not in byte range for Haiku OS

git-svn-id: trunk@45877 -
This commit is contained in:
pierre 2020-07-29 15:52:38 +00:00
parent a5db62a300
commit 34b1cfa4b9

View File

@ -1143,7 +1143,7 @@ begin
TimeOutResult:=ctrError;
{$ifdef unix}
Err:=ESysEINTR;
While IsError and (Err in [ESysEINTR, ESysEAGAIN]) do
While IsError and ((Err=ESysEINTR) or (Err=ESysEAGAIN)) do
{$endif}
begin
IsError:=fpConnect(Handle, @addr, sizeof(addr))<>0;