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

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sat Nov 21 22:09:47 UTC 2015


Author: aurel32
Date: 2015-11-21 22:09:47 +0000 (Sat, 21 Nov 2015)
New Revision: 5838

Modified:
   trunk/glibc-ports/kfreebsd/bits/time.h
Log:
Fix CLK_TCK visibility


Modified: trunk/glibc-ports/kfreebsd/bits/time.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/time.h	2015-11-21 19:52:00 UTC (rev 5837)
+++ trunk/glibc-ports/kfreebsd/bits/time.h	2015-11-21 22:09:47 UTC (rev 5838)
@@ -33,7 +33,8 @@
    XSI-conformant systems. */
 #  define CLOCKS_PER_SEC  ((clock_t) 1000000l)
 
-#  if !defined __STRICT_ANSI__ && !defined __USE_XOPEN2K
+#  if (!defined __STRICT_ANSI__ || defined __USE_POSIX) \
+   && !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




More information about the Glibc-bsd-commits mailing list