diff options
| author | Carlos O'Donell <carlos@systemhalted.org> | 2007-05-02 02:07:38 +0000 |
|---|---|---|
| committer | Carlos O'Donell <carlos@systemhalted.org> | 2007-05-02 02:07:38 +0000 |
| commit | 854901bebe730b126ca035abcca1d816cfe4693e (patch) | |
| tree | 9fdc9a395bd982e811a90b0756dfed978e312bc7 | |
| parent | 8d4fccc44295d622a4fe6c22d7047c9cf93e95fd (diff) | |
| download | glibc-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.
| -rw-r--r-- | ChangeLog.hppa | 6 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 068044add5..7d38ab0fd9 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -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. 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 { |
