public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hppa: Revise __TIMESIZE define to use __WORDSIZE
@ 2023-04-05 18:36 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2023-04-05 18:36 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e9327e8584b2d90d9fb6f489b6e446dccd1cd5da
commit e9327e8584b2d90d9fb6f489b6e446dccd1cd5da
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Wed Apr 5 18:35:38 2023 +0000
hppa: Revise __TIMESIZE define to use __WORDSIZE
Handle both 32 and 64-bit ABIs.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Diff:
---
sysdeps/unix/sysv/linux/hppa/bits/timesize.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h
index 316a9c1ce6..cbceeb4a29 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/timesize.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/timesize.h
@@ -16,5 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#include <bits/wordsize.h>
+
/* Size in bits of the 'time_t' type of the default ABI. */
-#define __TIMESIZE 32
+#define __TIMESIZE __WORDSIZE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-05 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 18:36 [glibc] hppa: Revise __TIMESIZE define to use __WORDSIZE John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).