summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-19/arch-mips64/usr/include/utmp.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-09 21:37:30 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-05-09 23:42:43 +0800
commit1b1d56acc5281d0201fdbe8539012a2dbf09bc8f (patch)
tree5c6aeb7acb5aa97762a1b97c74e754855455e083 /9/platforms/android-19/arch-mips64/usr/include/utmp.h
parent5fd2a238a3a2697a4cde0e4ed2a8b05b3791fb43 (diff)
downloadprebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.zip
prebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.tar.gz
prebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.tar.bz2
Refresh 64-bit headers/libs; upgrade libc++ to r207307
to bionic: adfc007dbf936bd021d79ba2d2c360a3cfc77be9 5/19 2014 Change-Id: Id9994bab1ab8240853890c108e8aaa3ebac47fa8
Diffstat (limited to '9/platforms/android-19/arch-mips64/usr/include/utmp.h')
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/utmp.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/9/platforms/android-19/arch-mips64/usr/include/utmp.h b/9/platforms/android-19/arch-mips64/usr/include/utmp.h
index ffd3c92..d764227 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/utmp.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/utmp.h
@@ -36,9 +36,15 @@
#define _PATH_WTMP "/var/log/wtmp"
#define _PATH_LASTLOG "/var/log/lastlog"
-#define UT_NAMESIZE 8
-#define UT_LINESIZE 8
-#define UT_HOSTSIZE 16
+#ifdef __LP64__
+#define UT_NAMESIZE 32
+#define UT_LINESIZE 32
+#define UT_HOSTSIZE 256
+#else
+#define UT_NAMESIZE 8
+#define UT_LINESIZE 8
+#define UT_HOSTSIZE 16
+#endif
#define USER_PROCESS 7