mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:19:14 +02:00
LCL, TASyncProcess: FIONREAD is part of 2.0.4 termio units for all unix targets
git-svn-id: trunk@10548 -
This commit is contained in:
parent
5bee5ec659
commit
4ced1d8d15
@ -55,8 +55,8 @@ type
|
||||
public
|
||||
procedure Execute; override;
|
||||
destructor Destroy; override;
|
||||
published
|
||||
property NumBytesAvailable: dword read GetNumBytesAvailable;
|
||||
published
|
||||
property OnReadData: TNotifyEvent read FOnReadData write FOnReadData;// You must read all the data in this event. Otherwise it is called again.
|
||||
property OnTerminate: TNotifyEvent read FOnTerminate write FOnTerminate;
|
||||
end;
|
||||
@ -85,11 +85,6 @@ end;
|
||||
|
||||
uses BaseUnix, TermIO;
|
||||
|
||||
{$ifdef BSD}
|
||||
const
|
||||
FIONREAD = $4004667;
|
||||
{$endif}
|
||||
|
||||
function TAsyncProcess.GetNumBytesAvailable: dword;
|
||||
begin
|
||||
if not (poUsePipes in Options) then
|
||||
|
Loading…
Reference in New Issue
Block a user