diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-24 17:54:31 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-24 17:54:31 +0000 |
commit | 1eaf39576819e5d3c75264bb6600055f905c1808 (patch) | |
tree | efcbf33abf6be2d1b770cfd184ab9acd1d1f577a /libc/sysdeps/linux/sparc/bits/types.h | |
parent | fbe03b720849fa0539c86893cf98bbaa9e039f80 (diff) |
A few more needed updates
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/types.h')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/types.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/types.h b/libc/sysdeps/linux/sparc/bits/types.h index 0c7cfbea7..2a1dfd5a3 100644 --- a/libc/sysdeps/linux/sparc/bits/types.h +++ b/libc/sysdeps/linux/sparc/bits/types.h @@ -118,7 +118,11 @@ typedef int __timer_t; typedef int __key_t; /* Used in `struct shmid_ds'. */ -typedef __kernel_ipc_pid_t __ipc_pid_t; +#if __WORDSIZE == 64 +typedef int __ipc_pid_t; +#else +typedef unsigned short int __ipc_pid_t; +#endif /* Type to represent block size. */ @@ -154,7 +158,7 @@ typedef unsigned int __socklen_t; /* Now add the thread types. */ -#if defined __USE_POSIX199506 || defined __USE_UNIX98 +#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98) # include <bits/pthreadtypes.h> #endif |