Use __getclktck to handle _SC_CLK_TCK.
authordrepper <drepper>
Wed, 1 Nov 2000 08:04:35 +0000 (08:04 +0000)
committerdrepper <drepper>
Wed, 1 Nov 2000 08:04:35 +0000 (08:04 +0000)
sysdeps/posix/sysconf.c

index b8fd368..616c950 100644 (file)
@@ -55,11 +55,7 @@ __sysconf (name)
 #endif
 
     case _SC_CLK_TCK:
-#ifdef CLK_TCK
-      return CLK_TCK;
-#else
-      return 60;
-#endif
+      return __getclktck ();
 
     case _SC_NGROUPS_MAX:
 #ifdef NGROUPS_MAX