about summary refs log tree commit diff
path: root/math/test-math-inline.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 11:58:33 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-11 18:22:11 +0100
commit7bb087bd7bfe3616c4c0974a3f7352b593353ea5 (patch)
treee2646dd2154bb1053f693dde21075fc85c46655a /math/test-math-inline.h
parent2fd4bbaa1446f1be700e10c526cf585a796c4991 (diff)
downloadglibc-7bb087bd7bfe3616c4c0974a3f7352b593353ea5.tar.gz
glibc-7bb087bd7bfe3616c4c0974a3f7352b593353ea5.tar.xz
glibc-7bb087bd7bfe3616c4c0974a3f7352b593353ea5.zip
nscd: don't unconditionally use PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP is Linux-only.

* nscd/connections.c (RWLOCK_INITIALIZER): Define to
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
PTHREAD_RWLOCK_INITIALIZER if that is not available.
(dbs): Use RWLOCK_INITIALIZER instead of
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP.
Diffstat (limited to 'math/test-math-inline.h')
0 files changed, 0 insertions, 0 deletions