From: Carlos O'Donell Date: Wed, 2 May 2007 02:07:38 +0000 (+0000) Subject: 2007-05-01 Carlos O'Donell X-Git-Tag: glibc-2.16-ports-before-merge~781 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=854901bebe730b126ca035abcca1d816cfe4693e;p=thirdparty%2Fglibc.git 2007-05-01 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h [__USE_XOPEN2K]: Define pthread_rwlock_t and pthread_rwlockattr_t. --- diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 068044add51..7d38ab0fd97 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,9 @@ +2007-05-01 Carlos O'Donell + + * 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 * 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 e2c6f5957d5..71737183181 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 {