|
@@ -143,9 +143,13 @@ Function Do_IsDevice(Handle:THandle):boolean;
|
|
const
|
|
const
|
|
{$if defined(PowerPC) or defined(PowerPc64)}
|
|
{$if defined(PowerPC) or defined(PowerPc64)}
|
|
IOCtl_TCGETS=$402c7413;
|
|
IOCtl_TCGETS=$402c7413;
|
|
|
|
+{$else}
|
|
|
|
+{$if defined(sparc)}
|
|
|
|
+ IOCtl_TCGETS=$40245408;
|
|
{$else}
|
|
{$else}
|
|
IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
|
|
IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this
|
|
{$endif}
|
|
{$endif}
|
|
|
|
+{$endif}
|
|
var
|
|
var
|
|
Data : array[0..255] of byte; {Large enough for termios info}
|
|
Data : array[0..255] of byte; {Large enough for termios info}
|
|
begin
|
|
begin
|