summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2015-01-29 19:31:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-29 19:31:36 +0000
commit0ee59ad06d8716ae6195d6a96ecfb408d37024f4 (patch)
tree19d43e64e40a1c8289503eeec1bc74764f77c71e
parent75fd51a217c359cc80c282d325e7d866ebb6be3c (diff)
parentb0b8d245896000ddc49633e33227596a69483df1 (diff)
downloadprebuilts_ndk-0ee59ad06d8716ae6195d6a96ecfb408d37024f4.zip
prebuilts_ndk-0ee59ad06d8716ae6195d6a96ecfb408d37024f4.tar.gz
prebuilts_ndk-0ee59ad06d8716ae6195d6a96ecfb408d37024f4.tar.bz2
am b0b8d245: am d7a0f45a: Merge "Modify MIPS64 stat structure inline with the one in bionic."
* commit 'b0b8d245896000ddc49633e33227596a69483df1': Modify MIPS64 stat structure inline with the one in bionic.
-rw-r--r--9/platforms/android-21/arch-mips64/usr/include/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/9/platforms/android-21/arch-mips64/usr/include/sys/stat.h b/9/platforms/android-21/arch-mips64/usr/include/sys/stat.h
index c0c168b..727da12 100644
--- a/9/platforms/android-21/arch-mips64/usr/include/sys/stat.h
+++ b/9/platforms/android-21/arch-mips64/usr/include/sys/stat.h
@@ -37,7 +37,7 @@
__BEGIN_DECLS
-#if defined(__aarch64__)
+#if defined(__aarch64__) || (defined(__mips__) && defined(__LP64__))
#define __STAT64_BODY \
unsigned long st_dev; \
unsigned long st_ino; \
@@ -60,7 +60,7 @@ __BEGIN_DECLS
unsigned int __unused4; \
unsigned int __unused5; \
-#elif defined(__mips__)
+#elif defined(__mips__) && !defined(__LP64__)
#define __STAT64_BODY \
unsigned int st_dev; \
unsigned int __pad0[3]; \