瀏覽代碼

make x86_64 struct utmp glibc-compatible

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko 16 年之前
父節點
當前提交
983c4d5188
共有 1 個文件被更改,包括 2 次插入1 次删除
  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