projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abde23b
)
Use __sysconf to for CLK_TCK.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 1 Nov 2000 08:07:45 +0000
(08:07 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 1 Nov 2000 08:07:45 +0000
(08:07 +0000)
sysdeps/unix/sysv/linux/alpha/bits/time.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/alpha/bits/time.h
b/sysdeps/unix/sysv/linux/alpha/bits/time.h
index
a0eddbe
..
b9d9f3f
100644
(file)
--- a/
sysdeps/unix/sysv/linux/alpha/bits/time.h
+++ b/
sysdeps/unix/sysv/linux/alpha/bits/time.h
@@
-36,7
+36,8
@@
# ifndef __STRICT_ANSI__
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
presents the real value for clock ticks per second for the system. */
-# define CLK_TCK 1024
+extern long int __sysconf (int);
+# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
# endif
# ifdef __USE_POSIX199309