]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
macOS: drd pth_mutex_signal test doesn't build
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Jan 2023 17:00:59 +0000 (18:00 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Jan 2023 17:00:59 +0000 (18:00 +0100)
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

index e3366a18a01fbeeea7b3f69f7a1950fdd9d56184..157bedcf4843fc0d9b406bdf19fa131ee436c840 100755 (executable)
@@ -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