From 4ced1d8d1559aded14c90a05c52ddc5fba1880ba Mon Sep 17 00:00:00 2001 From: vincents Date: Wed, 31 Jan 2007 14:18:03 +0000 Subject: [PATCH] LCL, TASyncProcess: FIONREAD is part of 2.0.4 termio units for all unix targets git-svn-id: trunk@10548 - --- lcl/asyncprocess.pp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lcl/asyncprocess.pp b/lcl/asyncprocess.pp index d8ef25b292..25bec2086b 100644 --- a/lcl/asyncprocess.pp +++ b/lcl/asyncprocess.pp @@ -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