Index: bits/typesizes.h |
diff --git a/bits/typesizes.h b/bits/typesizes.h |
index e9226c4174eac9d21e9b2964e4c2aea6c0de8d26..9c84653849d9e07961b0b8e1cb5ec72f1e8ba45c 100644 |
--- a/bits/typesizes.h |
+++ b/bits/typesizes.h |
@@ -30,20 +30,45 @@ |
#define __DEV_T_TYPE __UQUAD_TYPE |
#define __UID_T_TYPE __U32_TYPE |
#define __GID_T_TYPE __U32_TYPE |
+#ifdef __native_client__ |
+#define __INO_T_TYPE __UQUAD_TYPE |
+#else |
#define __INO_T_TYPE __ULONGWORD_TYPE |
+#endif |
#define __INO64_T_TYPE __UQUAD_TYPE |
#define __MODE_T_TYPE __U32_TYPE |
+ |
#define __NLINK_T_TYPE __UWORD_TYPE |
+#ifdef __native_client__ |
+#define __OFF_T_TYPE __SQUAD_TYPE |
+#else |
#define __OFF_T_TYPE __SLONGWORD_TYPE |
+#endif |
#define __OFF64_T_TYPE __SQUAD_TYPE |
#define __PID_T_TYPE __S32_TYPE |
+#ifdef __native_client__ |
+#define __RLIM_T_TYPE __UQUAD_TYPE |
+#else |
#define __RLIM_T_TYPE __ULONGWORD_TYPE |
+#endif |
#define __RLIM64_T_TYPE __UQUAD_TYPE |
+#ifdef __native_client__ |
+#define __BLKCNT_T_TYPE __SQUAD_TYPE |
+#else |
#define __BLKCNT_T_TYPE __SLONGWORD_TYPE |
+#endif |
#define __BLKCNT64_T_TYPE __SQUAD_TYPE |
+#ifdef __native_client__ |
+#define __FSBLKCNT_T_TYPE __UQUAD_TYPE |
+#else |
#define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE |
+#endif |
#define __FSBLKCNT64_T_TYPE __UQUAD_TYPE |
+#ifdef __native_client__ |
+#define __FSFILCNT_T_TYPE __UQUAD_TYPE |
+#else |
#define __FSFILCNT_T_TYPE __ULONGWORD_TYPE |
+#endif |
#define __FSFILCNT64_T_TYPE __UQUAD_TYPE |
#define __ID_T_TYPE __U32_TYPE |
#define __CLOCK_T_TYPE __SLONGWORD_TYPE |
@@ -55,7 +80,12 @@ |
#define __KEY_T_TYPE __S32_TYPE |
#define __CLOCKID_T_TYPE __S32_TYPE |
#define __TIMER_T_TYPE void * |
+#ifdef __native_client__ |
+#define __BLKSIZE_T_TYPE __SQUAD_TYPE |
+#else |
#define __BLKSIZE_T_TYPE __SLONGWORD_TYPE |
+#endif |
+ |
#define __FSID_T_TYPE struct { int __val[2]; } |
#define __SSIZE_T_TYPE __SWORD_TYPE |