|
From: Paul F. <pa...@so...> - 2023-01-29 17:02:21
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=2e873534bb49b7ea9310f7b799f8cbbc5fdc7470 commit 2e873534bb49b7ea9310f7b799f8cbbc5fdc7470 Author: Paul Floyd <pj...@wa...> Date: Sun Jan 29 18:00:59 2023 +0100 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: --- 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 |