* 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-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.
This commit is contained in:
parent
96e26332f3
commit
90f99ea6b8
@ -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>
|
2000-09-11 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
|
* sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
/* CAE XSH, Issue 4, Version 2: <time.h>
|
/* CAE XSH, Issue 4, Version 2: <time.h>
|
||||||
The value of CLOCKS_PER_SEC is required to be 1 million on all
|
The value of CLOCKS_PER_SEC is required to be 1 million on all
|
||||||
XSI-conformant systems. */
|
XSI-conformant systems. */
|
||||||
# define CLOCKS_PER_SEC 1000000
|
# define CLOCKS_PER_SEC 1000000l
|
||||||
|
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
/* CAE XSH, Issue 4, Version 2: <time.h>
|
/* CAE XSH, Issue 4, Version 2: <time.h>
|
||||||
The value of CLOCKS_PER_SEC is required to be 1 million on all
|
The value of CLOCKS_PER_SEC is required to be 1 million on all
|
||||||
XSI-conformant systems. */
|
XSI-conformant systems. */
|
||||||
# define CLOCKS_PER_SEC 1000000
|
# define CLOCKS_PER_SEC 1000000l
|
||||||
|
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user