unbroke build for anything non Windows and non-Unix, where the nonblocking code is disabled anyway

git-svn-id: trunk@39572 -
This commit is contained in:
Károly Balogh 2018-08-04 15:52:57 +00:00
parent 7e0d7e118e
commit 3c25184889

View File

@ -1076,12 +1076,14 @@ end;
procedure TInetSocket.Connect;
{$IFDEF HAVENONBLOCKING}
Const
{$IFDEF UNIX}
ErrWouldBlock = ESysEInprogress;
{$ELSE}
ErrWouldBlock = WSAEWOULDBLOCK;
{$ENDIF}
{$ENDIF}
Var
A : THostAddr;