This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] [HPPA] fix bits/pthreadtypes.h
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: parisc-linux at lists dot parisc-linux dot org, libc-ports at sourceware dot org
- Date: Tue, 1 May 2007 21:28:27 +0200
- Subject: [PATCH] [HPPA] fix bits/pthreadtypes.h
Hi all,
On hppa using linuxthreads + TLS, bits/pthreadtypes.h is out of date
compare to the generic linuxthreads file. This makes pthread.h unusable.
Please find below a patch to fix that.
Bye,
Aurelien
--- libc/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h 2007-05-01 21:15:38.000000000 +020
+++ libc/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h 2007-05-01 21:16:03.000000000 +0200
@@ -134,7 +134,7 @@
} pthread_rwlockattr_t;
#endif
-#ifdef __USE_XOPEN2K
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K
/* POSIX spinlock data type. */
typedef __atomic_lock_t pthread_spinlock_t;
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net