From e9327e8584b2d90d9fb6f489b6e446dccd1cd5da Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Wed, 5 Apr 2023 18:35:38 +0000 Subject: hppa: Revise __TIMESIZE define to use __WORDSIZE Handle both 32 and 64-bit ABIs. Signed-off-by: John David Anglin --- 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 . */ +#include + /* Size in bits of the 'time_t' type of the default ABI. */ -#define __TIMESIZE 32 +#define __TIMESIZE __WORDSIZE -- cgit 1.4.1