Explorar o código

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

git-svn-id: trunk@4222 -
tom_at_work %!s(int64=19) %!d(string=hai) anos
pai
achega
cd8842a74d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/linux/unxconst.inc

+ 1 - 1
rtl/linux/unxconst.inc

@@ -80,7 +80,7 @@ Const
   fs_xia      = $012FD16D;
   fs_xia      = $012FD16D;
 
 
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
   {Constansts Termios/Ioctl (used in Do_IsDevice) }
-  {$ifdef PowerPC}
+  {$if defined(PowerPC) or defined(Powerpc64)}
   IOCtl_TCGETS=$402c7413;
   IOCtl_TCGETS=$402c7413;
   {$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