[git commit master] make x86_64 struct utmp glibc-compatible
Denys Vlasenko
vda.linux at googlemail.com
Thu Nov 26 23:31:25 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=983c4d5188f8a7eb00766e3b3e89b218899a3a08
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
libc/sysdeps/linux/x86_64/bits/wordsize.h | 3 ++-
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 0cce4ea..e555241 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
--
1.6.3.3
More information about the uClibc-cvs
mailing list