]> Savannah Git Hosting - gnulib.git/commit
pthread-h tests: Fix a compilation error on MacOS X 10.4.
authorBruno Haible <bruno@clisp.org>
Wed, 16 Oct 2024 10:46:26 +0000 (12:46 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 16 Oct 2024 10:47:35 +0000 (12:47 +0200)
commit6aae11ee424765b10f15345bf51fe5a37c6896f4
tree59e9c1125efc83f4112edbf18c5ad676c2e602a8
parentbf3e951854588bf1f0a724b1f537ad957e02d86e
pthread-h tests: Fix a compilation error on MacOS X 10.4.

Reported by Sevan Janiyan <venture37@geeklan.co.uk> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-11/msg00183.html>.

* tests/test-pthread.c: Omit the PTHREAD_RWLOCK_INITIALIZER test if
module 'pthread-rwlock' is not in use.
ChangeLog
tests/test-pthread.c