types.h update
Peter S. Mazinger
ps.m at gmx.net
Tue Aug 22 15:11:34 UTC 2006
Hello!
Update bits/types.h to behave as glibc (covering LT/NPTL), no need to have
threads specific versions
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
-------------- next part --------------
diff -urN --exclude .svn --exclude CVS --exclude .cvsignore --exclude nptl --exclude linuxthreads --exclude linuxthreads.old --exclude linuxthreads.old_db uClibc.orig/libc/sysdeps/linux/common/bits/types.h uClibc/libc/sysdeps/linux/common/bits/types.h
--- uClibc.orig/libc/sysdeps/linux/common/bits/types.h 2006-06-12 17:39:27 +0200
+++ uClibc/libc/sysdeps/linux/common/bits/types.h 2006-05-27 14:48:57 +0200
@@ -133,6 +133,10 @@
# error
#endif
#include <bits/typesizes.h> /* Defines __*_T_TYPE macros. */
+#if defined __UCLIBC_HAS_THREADS__ && !defined __UCLIBC_HAS_NATIVE_THREADS__
+# undef __TIMER_T_TYPE
+# define __TIMER_T_TYPE __S32_TYPE
+#endif
__STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */
More information about the uClibc
mailing list