소스 검색

sparc64 also uses 0245408 TCGETS constant

git-svn-id: trunk@36728 -
pierre 8 년 전
부모
커밋
0c404918e1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      rtl/linux/sysos.inc

+ 2 - 2
rtl/linux/sysos.inc

@@ -145,10 +145,10 @@ Function Do_IsDevice(Handle:THandle):boolean;
   data is function-dependent.
 }
 const
-{$if defined(PowerPC) or defined(PowerPc64)}
+{$if defined(cpupowerpc) or defined(cpupowerpc64)}
   IOCtl_TCGETS=$402c7413;
 {$else}
-{$if defined(sparc)}
+{$if defined(cpusparc) or defined(cpusparc64)}
   IOCtl_TCGETS=$40245408;
 {$else}
   IOCtl_TCGETS=$5401; // TCGETS is also in termios.inc, but the sysunix needs only this