]> Savannah Git Hosting - gnulib.git/commit
pthread-spin: Fix warnings on FreeBSD 5.2.1/i386.
authorBruno Haible <bruno@clisp.org>
Sun, 15 Oct 2023 21:03:59 +0000 (23:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Nov 2023 19:18:34 +0000 (20:18 +0100)
commitb67f12dc70f59d0481988cb560649d10664b1e77
tree9ab8ec16072bf0290c02e78fb729c9f196a124b8
parentd6e1b3f8153d6d0ea7eaa121eaa17251e083d7ef
pthread-spin: Fix warnings on FreeBSD 5.2.1/i386.

* lib/pthread.in.h (pthread_spinlock_t): Override if <pthread.h> defines
pthread_spinlock_t but we need to approximate spinlocks with mutexes.
* m4/pthread-spin.m4 (gl_PTHREAD_SPIN): When the pthread_spin_*
functions are declared but don't exist, mark them as REPLACEd.
ChangeLog
lib/pthread.in.h
m4/pthread-spin.m4