diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-05-19 20:15:16 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-19 20:25:37 +0200 |
commit | 4d3f846b88d307d459a283617778fc11e9bd25ac (patch) | |
tree | 196215730676b6e69fdee44cd46e6b2cc34ea39a /sysdeps/mach/hurd | |
parent | 7b31c02dd29168c90bc04944accdf754bbfb01a6 (diff) | |
download | glibc-4d3f846b88d307d459a283617778fc11e9bd25ac.tar.gz glibc-4d3f846b88d307d459a283617778fc11e9bd25ac.tar.xz glibc-4d3f846b88d307d459a283617778fc11e9bd25ac.zip |
hurd: Fix __TIMESIZE on x86_64
We had sizeof (time_t) == 8, but __TIMESIZE == 32. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230519171516.3698754-1-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/bits/timesize.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/timesize.h b/sysdeps/mach/hurd/bits/timesize.h index 900a0a237d..981452c026 100644 --- a/sysdeps/mach/hurd/bits/timesize.h +++ b/sysdeps/mach/hurd/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 |