Explorar el Código

make x86_64 struct utmp glibc-compatible

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko hace 16 años
padre
commit
983c4d5188
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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