Home GnuPG
Diffusion nPth 223e59f992f9

build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t.

Description

build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t.

* configure.ac (INSERT_NO_RWLOCK): New.
* src/npth.h.in (@INSERT_NO_RWLOCK@): Use.

This change allows nPth to be compiled on old system with no
pthread_rwlock_t support.

  • GnuPG-bug-id: T4306
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 23 2019, 3:24 AM
Parents
rPTH377c1b91e67a: w32: Use cast by uintptr_t for thread ID.
Branches
Unknown
Tags
Unknown
Tasks
T4306: nPth fails to compile