summaryrefslogtreecommitdiff
path: root/tests/test-pthread.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
commit1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch)
tree0c801f68561bfb0930a4ade80d7ca3a7940887ab /tests/test-pthread.c
parent84e26c587987e8484d55db4165f188b40c09e94b (diff)
parent630f99f29bd31a76d8d24da2975a045452c763ef (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'tests/test-pthread.c')
-rw-r--r--tests/test-pthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-pthread.c b/tests/test-pthread.c
index f7e89c66..a78e714e 100644
--- a/tests/test-pthread.c
+++ b/tests/test-pthread.c
@@ -30,8 +30,10 @@ pthread_once_t t3 = PTHREAD_ONCE_INIT;
pthread_mutex_t t4 = PTHREAD_MUTEX_INITIALIZER;
pthread_mutexattr_t t5;
+#if GNULIB_TEST_PTHREAD_RWLOCK
pthread_rwlock_t t6 = PTHREAD_RWLOCK_INITIALIZER;
pthread_rwlockattr_t t7;
+#endif
pthread_cond_t t8 = PTHREAD_COND_INITIALIZER;
pthread_condattr_t t9;