ソースを参照

* fixed Do_IsDevice for sparc (TCGETS constant; the entire termios.inc
also needs to be fixed for sparc)

git-svn-id: trunk@7461 -

Jonas Maebe 18 年 前
コミット
e8423154ec
1 ファイル変更4 行追加0 行削除
  1. 4 0
      rtl/linux/sysos.inc

+ 4 - 0
rtl/linux/sysos.inc

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