瀏覽代碼

* fixed TCGETS ioctl call constant for ppc/ppc64 (from do_isdevice)

git-svn-id: trunk@4222 -
tom_at_work 19 年之前
父節點
當前提交
cd8842a74d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/linux/unxconst.inc

+ 1 - 1
rtl/linux/unxconst.inc

@@ -80,7 +80,7 @@ Const
   fs_xia      = $012FD16D;
 
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
-  {$ifdef PowerPC}
+  {$if defined(PowerPC) or defined(Powerpc64)}
   IOCtl_TCGETS=$402c7413;
   {$else}
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this