OSDN Git Service

make x86_64 struct utmp glibc-compatible
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Nov 2009 23:31:25 +0000 (00:31 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Nov 2009 23:31:25 +0000 (00:31 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libc/sysdeps/linux/x86_64/bits/wordsize.h

index 0cce4ea..e555241 100644 (file)
@@ -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