mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 11:49:18 +02:00
Update dev_t, ino_t and nlink_t types to cunit64
git-svn-id: trunk@41968 -
(cherry picked from commit 429bd929e8
)
This commit is contained in:
parent
02b969cc59
commit
001a37aa97
@ -26,7 +26,7 @@ const
|
|||||||
SEM_SAFE=255;
|
SEM_SAFE=255;
|
||||||
type
|
type
|
||||||
|
|
||||||
dev_t = cuint32; { used for device numbers }
|
dev_t = cuint64; { used for device numbers }
|
||||||
TDev = dev_t;
|
TDev = dev_t;
|
||||||
pDev = ^dev_t;
|
pDev = ^dev_t;
|
||||||
|
|
||||||
@ -35,11 +35,7 @@ type
|
|||||||
pGid = ^gid_t;
|
pGid = ^gid_t;
|
||||||
TIOCtlRequest = cuLong;
|
TIOCtlRequest = cuLong;
|
||||||
|
|
||||||
{$ifdef CPU64}
|
ino_t = cuint64; { used for file serial numbers }
|
||||||
ino_t = cuint32; { used for file serial numbers }
|
|
||||||
{$else}
|
|
||||||
ino_t = clong; { used for file serial numbers }
|
|
||||||
{$endif}
|
|
||||||
TIno = ino_t;
|
TIno = ino_t;
|
||||||
pIno = ^ino_t;
|
pIno = ^ino_t;
|
||||||
|
|
||||||
@ -47,7 +43,7 @@ type
|
|||||||
TMode = mode_t;
|
TMode = mode_t;
|
||||||
pMode = ^mode_t;
|
pMode = ^mode_t;
|
||||||
|
|
||||||
nlink_t = cuint16; { used for link counts }
|
nlink_t = cuint64; { used for link counts }
|
||||||
TnLink = nlink_t;
|
TnLink = nlink_t;
|
||||||
pnLink = ^nlink_t;
|
pnLink = ^nlink_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user