From 7019fbe103165b9b26a9391d5ecd4c7fcb6f3ec9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 7 May 2024 09:11:10 -0400 Subject: sys/user.h: derive __WORDSIZE from __LONG_MAX previously, only a few archs defined it here. this change makes the presence consistent across all archs, and reduces the amount of header duplication (and potential for future inconsistency) between archs. --- arch/x32/bits/user.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/x32/bits/user.h') diff --git a/arch/x32/bits/user.h b/arch/x32/bits/user.h index eac82a14..b328edf9 100644 --- a/arch/x32/bits/user.h +++ b/arch/x32/bits/user.h @@ -1,6 +1,3 @@ -#undef __WORDSIZE -#define __WORDSIZE 32 - typedef struct user_fpregs_struct { uint16_t cwd, swd, ftw, fop; uint64_t rip, rdp; -- cgit v1.2.1