* sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int constant since...
authorMark Kettenis <kettenis@gnu.org>
Sat, 23 Sep 2000 20:44:23 +0000 (20:44 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 23 Sep 2000 20:44:23 +0000 (20:44 +0000)
2000-09-18  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
constant since that is what clock_t is.
* sysdeps/mach/hurd/i386/bits/time.h: Likewise.

ChangeLog
sysdeps/mach/hurd/bits/time.h
sysdeps/mach/hurd/i386/bits/time.h

index 56c9a30..cc48d1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
+       constant since that is what clock_t is.
+       * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
+
 2000-09-11  Mark Kettenis  <kettenis@gnu.org>
 
        * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
index 183c2fc..66a949d 100644 (file)
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
index 360b416..b7c3c23 100644 (file)
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK