浏览代码

* TIOCtlRequest is 64 bit on sparc64

git-svn-id: trunk@36946 -
florian 8 年之前
父节点
当前提交
50fab14389
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      rtl/linux/ptypes.inc

+ 4 - 1
rtl/linux/ptypes.inc

@@ -155,8 +155,11 @@ Type
     TGid     = gid_t;
     pGid     = ^gid_t;
 
+{$ifdef cpusparc64}
+    TIOCtlRequest = culong;
+{$else cpusparc64}
     TIOCtlRequest = cInt;
-
+{$endif cpusparc64}
 
     socklen_t= cuint32;
     TSockLen = socklen_t;