aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-09-23 20:44:23 +0000
committerMark Kettenis <kettenis@gnu.org>2000-09-23 20:44:23 +0000
commit90f99ea6b8f4f97c803f5ff908a0daf17a6f22e6 (patch)
treeb313d57d6e514a6d57a1e204c4c8d04971470eef /sysdeps/mach/hurd
parent96e26332f34cc24f2ba9a456d3fd865479ce481a (diff)
downloadglibc-90f99ea6b8f4f97c803f5ff908a0daf17a6f22e6.zip
glibc-90f99ea6b8f4f97c803f5ff908a0daf17a6f22e6.tar.gz
glibc-90f99ea6b8f4f97c803f5ff908a0daf17a6f22e6.tar.bz2
* 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.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/bits/time.h2
-rw-r--r--sysdeps/mach/hurd/i386/bits/time.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bits/time.h b/sysdeps/mach/hurd/bits/time.h
index 183c2fc..66a949d 100644
--- a/sysdeps/mach/hurd/bits/time.h
+++ b/sysdeps/mach/hurd/bits/time.h
@@ -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
diff --git a/sysdeps/mach/hurd/i386/bits/time.h b/sysdeps/mach/hurd/i386/bits/time.h
index 360b416..b7c3c23 100644
--- a/sysdeps/mach/hurd/i386/bits/time.h
+++ b/sysdeps/mach/hurd/i386/bits/time.h
@@ -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