aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/stat.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-29 01:31:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-29 01:31:59 +0000
commita9c3d0569f3b9511af445457cd455a7bb967b60e (patch)
tree9a1e22ccb5e03fad0e7be544e008fd25faf9fb6d /libc/include/sys/stat.h
parent9e82c4be359a4637f21988b66b6d25abbfb79ddb (diff)
parent86d2feef9f4df517dd5755b39b993bec0c3e1ea5 (diff)
downloadandroid_bionic-a9c3d0569f3b9511af445457cd455a7bb967b60e.tar.gz
android_bionic-a9c3d0569f3b9511af445457cd455a7bb967b60e.tar.bz2
android_bionic-a9c3d0569f3b9511af445457cd455a7bb967b60e.zip
Merge "Modify MIPS64 stat structure to match a generic one in AOSP."
Diffstat (limited to 'libc/include/sys/stat.h')
-rw-r--r--libc/include/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h
index 7017865bd..eb9bf2e84 100644
--- a/libc/include/sys/stat.h
+++ b/libc/include/sys/stat.h
@@ -36,7 +36,7 @@
__BEGIN_DECLS
-#if defined(__aarch64__)
+#if defined(__aarch64__) || (defined(__mips__) && defined(__LP64__))
#define __STAT64_BODY \
dev_t st_dev; \
ino_t st_ino; \
@@ -56,7 +56,7 @@ __BEGIN_DECLS
unsigned int __unused4; \
unsigned int __unused5; \
-#elif defined(__mips__) /* and mips64 */
+#elif defined(__mips__) && !defined(__LP64__)
#define __STAT64_BODY \
unsigned int st_dev; \
unsigned int __pad0[3]; \