]> 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>
Thu, 9 Nov 2023 02:32:20 +0000 (03:32 +0100)
commite587520551efca26482e3d67024bcddbbf3d0dc4
tree9e2873a35ad1b4253a3dc1c53c1b7a8f2357769a
parent740191015f849891fb582728cd5163562b65cf12
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