[Glibc-bsd-commits] r1997 - trunk/glibc-ports/kfreebsd/x86_64/bits

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sun Sep 9 16:57:12 UTC 2007


Author: aurel32
Date: 2007-09-09 16:57:12 +0000 (Sun, 09 Sep 2007)
New Revision: 1997

Modified:
   trunk/glibc-ports/kfreebsd/x86_64/bits/time.h
Log:
Update x86_64/bits/time.h


Modified: trunk/glibc-ports/kfreebsd/x86_64/bits/time.h
===================================================================
--- trunk/glibc-ports/kfreebsd/x86_64/bits/time.h	2007-09-09 16:53:57 UTC (rev 1996)
+++ trunk/glibc-ports/kfreebsd/x86_64/bits/time.h	2007-09-09 16:57:12 UTC (rev 1997)
@@ -33,6 +33,12 @@
    XSI-conformant systems. */
 #  define CLOCKS_PER_SEC  1000000l
 
+#  if !defined __STRICT_ANSI__ && !defined __USE_XOPEN2K
+/* 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 128
+#  endif
+
 #  ifdef __USE_POSIX199309
 /* Identifier for system-wide realtime clock.  */
 #   define CLOCK_REALTIME		0




More information about the Glibc-bsd-commits mailing list