mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
* Allow compilation with DEBUG=1
git-svn-id: trunk@15895 -
This commit is contained in:
parent
56a35214ad
commit
0550e2ae64
@ -29,9 +29,12 @@ var
|
||||
nr:cint;
|
||||
begin
|
||||
case OptAct of
|
||||
TCSANOW : nr:=TIOCSETA;
|
||||
TCSADRAIN : nr:=TIOCSETAW;
|
||||
TCSAFLUSH : nr:=TIOCSETAF;
|
||||
{the three constants TIOCSETA, TIOCSETAW and TIOCSETAF are
|
||||
unsigned values above $80000000, so that they give range check errors
|
||||
on 32-bit systems }
|
||||
TCSANOW : nr:=cint(TIOCSETA);
|
||||
TCSADRAIN : nr:=cint(TIOCSETAW);
|
||||
TCSAFLUSH : nr:=cint(TIOCSETAF);
|
||||
else
|
||||
begin
|
||||
fpsetErrNo(ESysEINVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user