summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-27 00:31:25 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-27 00:31:25 +0100
commit983c4d5188f8a7eb00766e3b3e89b218899a3a08 (patch)
tree1f8f7b00aa37fded495c54faef383d4714e5393a /libc/sysdeps/linux
parent903cfa151a16d1722c53829663002ee78670a961 (diff)
make x86_64 struct utmp glibc-compatible
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/x86_64/bits/wordsize.h3
1 files changed, 2 insertions, 1 deletions
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