mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Update.
* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int constant since this is what clock_t is. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
This commit is contained in:
parent
6340ea91d4
commit
d817a43892
@ -1,5 +1,12 @@
|
||||
2000-09-13 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
|
||||
constant since this is what clock_t is.
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
|
||||
|
||||
* time/time.h: Don't defined clockid_t and timer_t unless POSIX
|
||||
definitions are requested.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* System-dependent timing definitions. Linux version.
|
||||
/* System-dependent timing definitions. Linux/x86 version.
|
||||
Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* System-dependent timing definitions. Linux version.
|
||||
/* System-dependent timing definitions. Linux/S390 version.
|
||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user