Browse Source

make x86_64 struct utmp glibc-compatible

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko 16 năm trước cách đây
mục cha
commit
983c4d5188
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      libc/sysdeps/linux/x86_64/bits/wordsize.h

+ 2 - 1
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