summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]; \