]> 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, 15 Oct 2023 21:03:59 +0000 (23:03 +0200)
commit2d845bd803c7c971c9ae6d74c59c8e89b559f7e3
tree2026776883782382ef746c34334ebfd65c9db7f6
parentf7610114b6f94bb08f58e85bdfde6a9cfaa5b745
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