summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghu Gandham <raghu.gandham@imgtec.com>2015-01-28 18:37:56 -0800
committerRaghu Gandham <raghu.gandham@imgtec.com>2015-01-28 18:37:56 -0800
commite6639a4c0ba9296a19fd477154aace3585221d9d (patch)
tree19d43e64e40a1c8289503eeec1bc74764f77c71e
parent01eb5b04a583398a2c1d98e2fddfbc019ca663d4 (diff)
downloadprebuilts_ndk-e6639a4c0ba9296a19fd477154aace3585221d9d.zip
prebuilts_ndk-e6639a4c0ba9296a19fd477154aace3585221d9d.tar.gz
prebuilts_ndk-e6639a4c0ba9296a19fd477154aace3585221d9d.tar.bz2
Modify MIPS64 stat structure inline with the one in bionic.
This change fixes the size of MIPS64 stat structure to match the one in bionic. Change-Id: I0bbfb2c42cf84b9d9d7dfcc0e32be02aa283d114
-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]; \