From: Ulrich Drepper Date: Sun, 12 Sep 2004 18:40:45 +0000 (+0000) Subject: Define rwlock types also for __USE_XOPEN2K. X-Git-Tag: glibc-2.16-ports-before-merge~1132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb9960651a8bbc3e899afa7a877d1b947f47e92;p=thirdparty%2Fglibc.git Define rwlock types also for __USE_XOPEN2K. --- diff --git a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h b/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h index fd20d572afe..79d43febdd8 100644 --- a/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h +++ b/sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h @@ -103,7 +103,7 @@ typedef unsigned int pthread_key_t; typedef int pthread_once_t; -#ifdef __USE_UNIX98 +#if defined __USE_UNIX98 || defined __USE_XOPEN2K /* Data structure for read-write lock variable handling. The structure of the attribute type is deliberately not exposed. */ typedef union