LazUtils: Fix compilation of utf8process.pp on Darwin with fpc trunk.

git-svn-id: trunk@55241 -
This commit is contained in:
bart 2017-06-05 15:54:24 +00:00
parent b2679b7d0d
commit 9b0e7b0b35

View File

@ -168,7 +168,11 @@ begin
mib[0] := CTL_HW;
mib[1] := HW_NCPU;
len := sizeof(t);
{$if FPC_FULLVERSION >= 30101}
fpsysctl(@mib, 2, @t, @len, Nil, 0);
{$else}
fpsysctl(pchar(@mib), 2, @t, @len, Nil, 0);
{$endif}
Result:=t;
end;
{$ELSEIF defined(linux)}