mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:39:26 +02:00
FPDebug: fixed compilation on Windows with FPC trunk, patch by Rika, closes issue #39349
This commit is contained in:
parent
64fdfecf46
commit
91f499b984
@ -176,7 +176,7 @@ begin
|
||||
FDS := Default(TFDSet);
|
||||
FD_Zero(FDS);
|
||||
FD_Set(self.Handle, FDS);
|
||||
Result := Select(self.Handle + 1, @FDS, nil, nil, nil) > SOCKET_ERROR;
|
||||
Result := winsock2.Select(self.Handle + 1, @FDS, nil, nil, nil) > SOCKET_ERROR;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
@ -202,7 +202,7 @@ begin
|
||||
FDS := Default(TFDSet);
|
||||
FD_Zero(FDS);
|
||||
FD_Set(self.Handle, FDS);
|
||||
Result := Select(self.Handle + 1, @FDS, nil, nil, @TimeV) > 0;
|
||||
Result := winsock2.Select(self.Handle + 1, @FDS, nil, nil, @TimeV) > 0;
|
||||
{$endif}
|
||||
{$endif}
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user