2007-05-01 Carlos O'Donell <carlos@systemhalted.org>
authorCarlos O'Donell <carlos@systemhalted.org>
Wed, 2 May 2007 02:07:38 +0000 (02:07 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 2 May 2007 02:07:38 +0000 (02:07 +0000)
* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
[__USE_XOPEN2K]: Define pthread_rwlock_t and
pthread_rwlockattr_t.

ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h

index 068044a..7d38ab0 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
+
+       * 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@systemhalted.org>
 
        * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
index e2c6f59..7173718 100644 (file)
@@ -111,8 +111,7 @@ typedef struct
 /* 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
 {