[fpc-devel] Typo in unistdh.inc

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue Feb 1 08:19:50 CET 2005



On Tue, 1 Feb 2005, Den Jean wrote:

> Hi,
> 
> 1) sysconf:
> could someone please fix sysconf in unistdh.inc.
> The library name is not correct
> 
> packages/base/libc/unistdh.inc:function sysconf (__name : longint) : longint; cdecl; external clib name 'syconf';
> 
> 
> The compile error is typically :
> 
>  In function `START_SESSION':
> SYS_UTIL.pas:329: undefined reference to `syconf'
> 
> The rest is nice to have...........

All done, thanks for pointing them out.

In general, FPC has the exact C header definition. 
Where needed, I added the Kylix definition as an overloaded version. If there are some missing definitions,
(entirely possible) please let me know, I'll add them.

Michael.




More information about the fpc-devel mailing list