summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
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