In our previous episode, Andrew Brunner said:
> procedure UpdateStats;
> var
>     SI:TSysInfo;
> begin
>   Linux.SysInfo(@SI);
> end;
> 
> FPC (svn/trunk) build on Darwin Mac OSX 10.6.4 did not come with a
> Linux Unit.  Where can I find the TSysInfo data type and SysInfo
> function equivalents?

Nowhere, it is Linux specific, and that's why it is in unit Linux.

You might try to substitute them with sysctls.  (see rtl/darwin/sysctlh.inc
for some predefined constants
 
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to