As per Chris Torek's suggestion, define CLOCKS_PER_SEC and CLK_TCK to 100.
When we get sysconf, we can define them in terms of the kernel's notion of interrupts per second if we so choose. Until then, the constant value seems to satisfy the requirements presented by ISO C and POSIX, even if it may lie about the true number of clocks per second.
This commit is contained in:
parent
c41b22b4f6
commit
ed37f93ef0
|
@ -1 +1 @@
|
|||
revision 1.3 intentionally removed
|
||||
revision 1.4 intentionally removed
|
||||
|
|
Loading…
Reference in New Issue