diff options
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.linux-generic | 5 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h | 3 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/ports/ChangeLog.linux-generic b/ports/ChangeLog.linux-generic index b5774de..8519a3c 100644 --- a/ports/ChangeLog.linux-generic +++ b/ports/ChangeLog.linux-generic @@ -1,3 +1,8 @@ +2012-08-07 Roland McGrath <roland@hack.frob.com> + + * sysdeps/unix/sysv/linux/generic/bits/typesizes.h + [__LP64__] (__BLKCNT_T_MATCHES_BLKCNT64_T): New macro. + 2012-08-02 Roland McGrath <roland@hack.frob.com> * sysdeps/unix/sysv/linux/generic/bits/typesizes.h diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 68e5989..d2ba065 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h @@ -117,6 +117,9 @@ struct stat64 }; #endif +/* Inform libc code that these two types are effectively identical. */ +#define _STAT_MATCHES_STAT64 1 + #undef __ST_TIME /* Tell code we have these members. */ diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h index d7d2a5c..b36a747 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h @@ -70,6 +70,9 @@ /* Same for ino_t and ino64_t. */ # define __INO_T_MATCHES_INO64_T 1 + +/* Same for blkcnt_t and blkcnt64_t. */ +# define __BLKCNT_T_MATCHES_BLKCNT64_T #endif /* Number of descriptors that can fit in an `fd_set'. */ |