* Actually use introduced cross-platform constant...

git-svn-id: trunk@39540 -
This commit is contained in:
michael 2018-07-31 08:10:02 +00:00
parent 4e94570ca3
commit e13f069b17

View File

@ -1125,7 +1125,7 @@ begin
{$IFDEF HAVENONBLOCKING}
if (ConnectTimeOut>0) then
begin
if IsError and (Err=ESysEINPROGRESS) then
if IsError and (Err=ErrWouldBlock) then
begin
TimeOutResult:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
IsError:=(TimeOutResult<>ctrOK);