(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:
Andrew McCallum 1995-04-05 15:22:29 +00:00
parent a0883d5d9d
commit 81649caa5c

View file

@ -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);