From: Paul Floyd Date: Sun, 29 Jan 2023 17:00:59 +0000 (+0100) Subject: macOS: drd pth_mutex_signal test doesn't build X-Git-Tag: VALGRIND_3_21_0~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e873534bb49b7ea9310f7b799f8cbbc5fdc7470;p=thirdparty%2Fvalgrind.git 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. --- 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