lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Oct 06, 2006 at 08:52:43AM +0100, David Jones wrote:
> and it compiles just fine.  On OS X 10.4 CLK_TCK doesn't work with or  
> without -pedantic btw.  And sysconf works with or without it  
> (slightly to my surprise).

On OS X 10.3 with gcc-3.3 CLK_TCK is defined, and has the same value as
sysconf(_SC_CLK_TCK).

Hard to understand why 10.4 would remove classic BSD APIs, however the
resource usage information from times() is also available from
getrusage().

Cheers,
Sam