mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* Actually use introduced cross-platform constant...
git-svn-id: trunk@39540 -
This commit is contained in:
parent
4e94570ca3
commit
e13f069b17
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user