[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r2141 - in /fsf/trunk/ports: ChangeLog.hppa sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h



Author: eglibc
Date: Wed May  2 00:01:43 2007
New Revision: 2141

Log:
Import glibc-ports-mainline for 2007-05-02

Modified:
    fsf/trunk/ports/ChangeLog.hppa
    fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h

Modified: fsf/trunk/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/ports/ChangeLog.hppa (original)
+++ fsf/trunk/ports/ChangeLog.hppa Wed May  2 00:01:43 2007
@@ -1,3 +1,9 @@
+2007-05-01  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
+	[__USE_XOPEN2K]: Define pthread_rwlock_t and 
+	pthread_rwlockattr_t. 
+
 2007-02-02  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h Wed May  2 00:01:43 2007
@@ -111,8 +111,7 @@
 /* Once-only execution */
 typedef int pthread_once_t;
 
-
-#ifdef __USE_UNIX98
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K
 /* Read-write locks.  */
 typedef struct _pthread_rwlock_t
 {