CLK_TCK

Ulrich Drepper drepper@redhat.com
Tue Feb 6 09:45:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> I see - but then both headers should use the same #ifdef.  We
> shouldn't use __STRICT_ANSI__ in one and __USE_POSIX in the other place.

Yes, that's fine.  <time.h> should be changed.

> Shouldn't we leave it in for _GNU_SOURCE ?  Otherwise we break a
> number of programs :-(

We already break some programs because CLK_TCK is now no compile-time
constant anymore.  Better break them correctly, means, force them to
use sysconf().

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list