From cd8842a74dd636e93c30710c8dee6b9c1562c08f Mon Sep 17 00:00:00 2001
From: tom_at_work <tom_at_work@idefix.freepascal.org>
Date: Sun, 16 Jul 2006 10:19:21 +0000
Subject: [PATCH] * fixed TCGETS ioctl call constant for ppc/ppc64 (from
 do_isdevice)

git-svn-id: trunk@4222 -
---
 rtl/linux/unxconst.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtl/linux/unxconst.inc b/rtl/linux/unxconst.inc
index d233456f6b..e0df2c3cb4 100644
--- a/rtl/linux/unxconst.inc
+++ b/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