aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2007-05-02 02:07:38 +0000
committerCarlos O'Donell <carlos@systemhalted.org>2007-05-02 02:07:38 +0000
commit854901bebe730b126ca035abcca1d816cfe4693e (patch)
tree9fdc9a395bd982e811a90b0756dfed978e312bc7 /sysdeps/unix/sysv/linux/hppa/linuxthreads/bits
parent8d4fccc44295d622a4fe6c22d7047c9cf93e95fd (diff)
downloadglibc-854901bebe730b126ca035abcca1d816cfe4693e.tar.xz
glibc-854901bebe730b126ca035abcca1d816cfe4693e.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa/linuxthreads/bits')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h b/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
index e2c6f5957d..7173718318 100644
--- a/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
+++ b/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
@@ -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
{