Skip to content
Browse files

Add a few more types following upstream changes

  • Loading branch information...
1 parent 85a35e2 commit 3c075236ed3a72b410c05800cab9f94ab580c004 aurel32 committed Jul 26, 2012
Showing with 8 additions and 0 deletions.
  1. +4 −0 glibc-ports/kfreebsd/bits/typesizes.h
  2. +4 −0 glibc-ports/kfreebsd/linuxthreads/bits/typesizes.h
View
4 glibc-ports/kfreebsd/bits/typesizes.h
@@ -46,6 +46,7 @@
#define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
#define __FSFILCNT64_T_TYPE __UQUAD_TYPE
#define __ID_T_TYPE __U32_TYPE
+#define __FSWORD_T_TYPE __SWORD_TYPE
#if defined(__arm__) || defined(__powerpc__)
#define __CLOCK_T_TYPE __U32_TYPE
@@ -83,6 +84,9 @@
#define __BLKSIZE_T_TYPE __U32_TYPE
#define __FSID_T_TYPE union { int __val[2]; int val[2]; }
#define __SSIZE_T_TYPE __SWORD_TYPE
+#define __SNSECONDS_T_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE
/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 1024
View
4 glibc-ports/kfreebsd/linuxthreads/bits/typesizes.h
@@ -47,6 +47,7 @@
#define __FSFILCNT64_T_TYPE __UQUAD_TYPE
#define __ID_T_TYPE __U32_TYPE
#define __CLOCK_T_TYPE __S32_TYPE
+#define __FSWORD_T_TYPE __SWORD_TYPE
/*
* This one is a bit tricky. It needs to match the size
@@ -74,6 +75,9 @@
#define __BLKSIZE_T_TYPE __U32_TYPE
#define __FSID_T_TYPE union { int __val[2]; int val[2]; }
#define __SSIZE_T_TYPE __SWORD_TYPE
+#define __SNSECONDS_T_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE
/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 1024

0 comments on commit 3c07523

Please sign in to comment.
Something went wrong with that request. Please try again.