diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-15 13:44:21 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-15 14:51:40 +0200 |
commit | c5d5030aea7585b86a4fe6e3dec068b0e720e8a2 (patch) | |
tree | 60144668fa00f5910ae13482a44874c409ab3658 /winsup | |
parent | 57d2718c0ea15f3dc3f5dddce4c0915a901374db (diff) | |
download | newlib-c5d5030aea7585b86a4fe6e3dec068b0e720e8a2.zip newlib-c5d5030aea7585b86a4fe6e3dec068b0e720e8a2.tar.gz newlib-c5d5030aea7585b86a4fe6e3dec068b0e720e8a2.tar.bz2 |
Provide POSIX defined blksize_t in <sys/types.h>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/include/cygwin/types.h | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/machine/_types.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index b7c3e23..9e13d04 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -34,11 +34,6 @@ typedef struct timespec timestruc_t; typedef __loff_t loff_t; -#ifndef __blksize_t_defined -#define __blksize_t_defined -typedef __int32_t blksize_t; -#endif /*__blksize_t_defined*/ - #ifndef __fsblkcnt_t_defined #define __fsblkcnt_t_defined /* Keep as is. 32 bit on i386, 64 bit on x86_64. */ diff --git a/winsup/cygwin/include/machine/_types.h b/winsup/cygwin/include/machine/_types.h index f014cdc..f09f1ef 100644 --- a/winsup/cygwin/include/machine/_types.h +++ b/winsup/cygwin/include/machine/_types.h @@ -16,6 +16,9 @@ typedef __uint32_t __ino32_t; #define __machine_blkcnt_t_defined typedef __uint64_t __blkcnt_t; +#define __machine_blksize_t_defined +typedef __int32_t __blksize_t; + #define __machine_dev_t_defined typedef __uint32_t __dev_t; |