|
@@ -29,6 +29,9 @@ and all three 32-bit systems returned completely identical types too
|
|
|
(everything 32-bit except dev_t, which is assumed to be a result of devfs
|
|
|
introduction)
|
|
|
}
|
|
|
+{$ifdef CPUSPARC}
|
|
|
+ {$define __USE_LARGEFILE64}
|
|
|
+{$endif}
|
|
|
|
|
|
{$if defined(CPUMIPS) or defined(cpuaarch64) or defined(cpusparc64)}
|
|
|
{$define USE_PTHREAD_SIZEOF}
|
|
@@ -155,11 +158,7 @@ Type
|
|
|
TGid = gid_t;
|
|
|
pGid = ^gid_t;
|
|
|
|
|
|
-{$ifdef cpusparc64}
|
|
|
TIOCtlRequest = culong;
|
|
|
-{$else cpusparc64}
|
|
|
- TIOCtlRequest = cInt;
|
|
|
-{$endif cpusparc64}
|
|
|
|
|
|
socklen_t= cuint32;
|
|
|
TSockLen = socklen_t;
|
|
@@ -195,7 +194,8 @@ Type
|
|
|
fsid : array[0..1] of cint; { File system ID }
|
|
|
namelen : clong; { Maximum name length in system }
|
|
|
frsize : clong;
|
|
|
- spare : array [0..4] of clong; { For later use }
|
|
|
+ flags : clong;
|
|
|
+ spare : array [0..3] of clong; { For later use }
|
|
|
end;
|
|
|
{$else}
|
|
|
TStatfs = record
|
|
@@ -205,11 +205,17 @@ Type
|
|
|
bfree, { free blocks in system }
|
|
|
bavail, { Available free blocks to non-root users }
|
|
|
files, { File nodes in system }
|
|
|
- ffree : culong; { Free file nodes in system }
|
|
|
+ ffree :
|
|
|
+{$ifdef __USE_LARGEFILE64}
|
|
|
+ culonglong; { Free file nodes in system }
|
|
|
+{$else}
|
|
|
+ culong; { Free file nodes in system }
|
|
|
+{$endif}
|
|
|
fsid : array[0..1] of cint; { File system ID }
|
|
|
namelen, { Maximum name length in system }
|
|
|
frsize : cint;
|
|
|
- spare : array [0..4] of cint; { For later use }
|
|
|
+ flags : cint;
|
|
|
+ spare : array [0..3] of cint; { For later use }
|
|
|
end;
|
|
|
{$endif}
|
|
|
PStatFS=^TStatFS;
|