aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 21:29:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 21:29:26 +0200
commit0ec48e3337506fcd33abdd86b5ab9e331564b65c (patch)
treee8ca1443ae335d5eb79f643632920f08418f8d94 /sysdeps/mach/hurd
parentf2cabe04dc2630754e1583c56282920ea146c6d8 (diff)
downloadglibc-0ec48e3337506fcd33abdd86b5ab9e331564b65c.tar
glibc-0ec48e3337506fcd33abdd86b5ab9e331564b65c.tar.gz
glibc-0ec48e3337506fcd33abdd86b5ab9e331564b65c.tar.bz2
glibc-0ec48e3337506fcd33abdd86b5ab9e331564b65c.zip
hurd 64bit: Make dev_t word type
dev_t are 64bit on Linux ports, so better increase their size on 64bit Hurd. It happens that this helps with BZ 23084 there: st_dev has type fsid_t (quad) and is specified by POSIX to have type dev_t. Making dev_t 64bit makes these match.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/bits/typesizes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/typesizes.h b/sysdeps/mach/hurd/bits/typesizes.h
index 7b95bb0b91..646ee934bb 100644
--- a/sysdeps/mach/hurd/bits/typesizes.h
+++ b/sysdeps/mach/hurd/bits/typesizes.h
@@ -26,7 +26,7 @@
/* See <bits/types.h> for the meaning of these macros. This file exists so
that <bits/types.h> need not vary across different GNU platforms. */
-#define __DEV_T_TYPE __U32_TYPE
+#define __DEV_T_TYPE __UWORD_TYPE
#define __UID_T_TYPE __U32_TYPE
#define __GID_T_TYPE __U32_TYPE
#define __INO_T_TYPE __ULONGWORD_TYPE