mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 22:06:40 +02:00
'size_t' system type is also 64-bit wide on OpenBSD for x86_64 CPU.
This change reduces testsuite failure count from 49 downto 30. git-svn-id: trunk@30332 -
This commit is contained in:
parent
49d501a798
commit
c4d3286d69
@ -52,8 +52,11 @@ type
|
|||||||
pid_t = cint32; { used as process identifier }
|
pid_t = cint32; { used as process identifier }
|
||||||
TPid = pid_t;
|
TPid = pid_t;
|
||||||
pPid = ^pid_t;
|
pPid = ^pid_t;
|
||||||
|
{$ifdef CPU64}
|
||||||
|
size_t = cuint64;
|
||||||
|
{$else}
|
||||||
size_t = cuint32; { as definied in the C standard}
|
size_t = cuint32; { as definied in the C standard}
|
||||||
|
{$endif}
|
||||||
TSize = size_t;
|
TSize = size_t;
|
||||||
pSize = ^size_t;
|
pSize = ^size_t;
|
||||||
pSize_t = ^size_t;
|
pSize_t = ^size_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user