aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-cancel21.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-cancel21.c')
-rw-r--r--nptl/tst-cancel21.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/tst-cancel21.c b/nptl/tst-cancel21.c
index 35a27d4b51..b54f236b03 100644
--- a/nptl/tst-cancel21.c
+++ b/nptl/tst-cancel21.c
@@ -257,6 +257,7 @@ do_test (void)
if (do_one_test ())
return 1;
+#ifdef SA_SIGINFO
sa.sa_sigaction = (void (*)(int, siginfo_t *, void *)) sh;
sigemptyset (&sa.sa_mask);
sa.sa_flags = SA_SIGINFO;
@@ -284,6 +285,7 @@ do_test (void)
puts ("sa_flags = SA_SIGINFO|SA_ONSTACK test");
if (do_one_test ())
return 1;
+#endif
return 0;
}