]> Savannah Git Hosting - gnulib.git/commit
pthread-rwlock: Port to Mac OS X 10.4.
authorBruno Haible <bruno@clisp.org>
Thu, 9 Nov 2023 02:32:20 +0000 (03:32 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 24 Nov 2023 07:22:53 +0000 (08:22 +0100)
commit802f913fcc00f4a0afbaf9a64c41a5d7b4f49ec6
treea7ca656de27f7b1bda2da7f3949fa183199945d9
parentf0da302cb97f689d7cd435cf271ac7422cf32ae5
pthread-rwlock: Port to Mac OS X 10.4.

Reported by Sevan Janiyan <venture37@geeklan.co.uk>.

* m4/pthread-rwlock.m4 (gl_PTHREAD_RWLOCK): On macOS, test for the
presence of PTHREAD_RWLOCK_INITIALIZER. If it is not defined, don't
attempt to use pthread_rwlock_init.
ChangeLog
m4/pthread-rwlock.m4