From d148ed257ab179a6a408bc1668e2effb447726bd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 27 Feb 2003 08:01:47 +0000 Subject: Update. 2003-02-27 Ulrich Drepper * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages except the PKTINFO. Reset interface in PKTINFO. * elf/elf.h: Add new R_PPC64_* relocs for TLS. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): --- nptl/tst-rwlock8.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nptl/tst-rwlock8.c') diff --git a/nptl/tst-rwlock8.c b/nptl/tst-rwlock8.c index ad433bb4a5..7eeaea8852 100644 --- a/nptl/tst-rwlock8.c +++ b/nptl/tst-rwlock8.c @@ -33,7 +33,11 @@ #define DELAY 1000000 -static pthread_rwlock_t lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP; +#ifndef INIT +# define INIT PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP +#endif + +static pthread_rwlock_t lock = INIT; static void * -- cgit v1.2.3