sys/user.h: derive __WORDSIZE from __LONG_MAX
commit7019fbe103165b9b26a9391d5ecd4c7fcb6f3ec9
authorRich Felker <dalias@aerifal.cx>
Tue, 7 May 2024 13:11:10 +0000 (7 09:11 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 May 2024 13:11:10 +0000 (7 09:11 -0400)
tree2608a8d167e1453b8145b527ad66f90a6d0a5c2c
parente709a6f07ade208ba513f9225222336f30c304b0
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/s390x/bits/user.h
arch/sh/bits/user.h
arch/x32/bits/user.h
arch/x86_64/bits/user.h
include/sys/user.h