[uClibc-cvs] uClibc/libc/sysdeps/linux/sparc/bits stat.h,1.4,1.5 types.h,1.7,1.8
Erik Andersen
andersen at codepoet.org
Fri Jan 24 17:54:36 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits
In directory winder:/tmp/cvs-serv24239/linux/sparc/bits
Modified Files:
types.h
Added Files:
stat.h
Log Message:
A few more needed updates
Index: types.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/types.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- types.h 24 Jan 2003 16:10:36 -0000 1.7
+++ types.h 24 Jan 2003 17:54:31 -0000 1.8
@@ -118,7 +118,11 @@
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 @@
/* 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
More information about the uClibc-cvs
mailing list