diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2023-04-05 18:35:38 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2023-04-05 18:35:38 +0000 |
commit | e9327e8584b2d90d9fb6f489b6e446dccd1cd5da (patch) | |
tree | de33db4d9f29beea4e10931a8f4a4cce66f9cb1e /sysdeps/unix | |
parent | 21a171bcb24240ecab860dddbcd89da6fe42aeff (diff) | |
download | glibc-e9327e8584b2d90d9fb6f489b6e446dccd1cd5da.tar.gz glibc-e9327e8584b2d90d9fb6f489b6e446dccd1cd5da.tar.xz glibc-e9327e8584b2d90d9fb6f489b6e446dccd1cd5da.zip |
hppa: Revise __TIMESIZE define to use __WORDSIZE
Handle both 32 and 64-bit ABIs. Signed-off-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/timesize.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |