Browse Source

* TIOCtlRequest is 64 bit on sparc64

git-svn-id: trunk@36946 -
florian 8 years ago
parent
commit
50fab14389
1 changed files with 4 additions and 1 deletions
  1. 4 1
      rtl/linux/ptypes.inc

+ 4 - 1
rtl/linux/ptypes.inc

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