From 2e873534bb49b7ea9310f7b799f8cbbc5fdc7470 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 29 Jan 2023 18:00:59 +0100 Subject: [PATCH] macOS: drd pth_mutex_signal test doesn't build pth_mutex_signal.c:50:13: error: use of undeclared identifier 'SIGRTMAX' sigaction(NATIVE_IO_INTERRUPT_SIGNAL, &signalAction, NULL); Put this target under a condition for the moment. --- drd/tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index e3366a18a0..157bedcf48 100755 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -418,7 +418,6 @@ check_PROGRAMS = \ pth_detached3 \ pth_inconsistent_cond_wait \ pth_mutex_reinit \ - pth_mutex_signal \ pth_process_shared_mutex \ recursive_mutex \ rwlock_race \ @@ -503,6 +502,10 @@ if HAVE_PTHREAD_CREATE_GLIBC_2_0 check_PROGRAMS += pth_create_glibc_2_0 endif +if !VGCONF_OS_IS_DARWIN +check_PROGRAMS += pth_mutex_signal +endif + if HAVE_PTHREAD_SPINLOCK check_PROGRAMS += pth_spinlock endif -- 2.47.2