From 983c4d5188f8a7eb00766e3b3e89b218899a3a08 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 27 Nov 2009 00:31:25 +0100 Subject: make x86_64 struct utmp glibc-compatible Signed-off-by: Denys Vlasenko --- libc/sysdeps/linux/x86_64/bits/wordsize.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/x86_64/bits/wordsize.h b/libc/sysdeps/linux/x86_64/bits/wordsize.h index 0cce4ead9..e55524100 100644 --- a/libc/sysdeps/linux/x86_64/bits/wordsize.h +++ b/libc/sysdeps/linux/x86_64/bits/wordsize.h @@ -2,7 +2,8 @@ #if defined __x86_64__ # define __WORDSIZE 64 -/*# define __WORDSIZE_COMPAT32 1*/ +/* This makes /var/run/utmp compatible with 32-bit environment: */ +# define __WORDSIZE_COMPAT32 1 #else # define __WORDSIZE 32 #endif -- cgit v1.2.3