mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(CLK_TCK): Use _CS_CLK_TCK instead of 3.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0883d5d9d
commit
81649caa5c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ id monthNames;
|
|||
|
||||
/* CLK_TCK is the number of clock ticks each second */
|
||||
#ifndef CLK_TCK
|
||||
#define CLK_TCK sysconf(3) /* sysconf(_SC_CLK_TCK) */
|
||||
#define CLK_TCK sysconf(_SC_CLK_TCK) /* sysconf(3) */
|
||||
#endif
|
||||
return ((long)((end_tms.tms_utime - start_tms.tms_utime +
|
||||
end_tms.tms_stime - start_tms.tms_stime) * 1000) / CLK_TCK);
|
||||
|
|
Loading…
Reference in a new issue