'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:
pierre 2015-03-27 07:18:56 +00:00
parent 49d501a798
commit c4d3286d69

View File

@ -52,8 +52,11 @@ type
pid_t = cint32; { used as process identifier }
TPid = pid_t;
pPid = ^pid_t;
{$ifdef CPU64}
size_t = cuint64;
{$else}
size_t = cuint32; { as definied in the C standard}
{$endif}
TSize = size_t;
pSize = ^size_t;
pSize_t = ^size_t;