]> 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 18:57:58 +0000 (19:57 +0100)
commit88868c2d94c55acbfa89565ee381f8c23a73b04e
tree3cb0035d2533425403ad10b5e2f3c69da9281162
parent77d917da96bd76bb2f8d2f0c3775cbb9b3bcea9a
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