about summary refs log tree commit diff
path: root/nptl/tst-cancel20.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:50 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:50 -0800
commitcfa69b0bb23b69087b5619a76d52eba8743cbbb2 (patch)
tree832e3f9c2cf14a4d6805ee7c1bcd07adb7f5caed /nptl/tst-cancel20.c
parent827278060826e62e5f30d9f39f745e075669dc26 (diff)
downloadglibc-cfa69b0bb23b69087b5619a76d52eba8743cbbb2.tar.gz
glibc-cfa69b0bb23b69087b5619a76d52eba8743cbbb2.tar.xz
glibc-cfa69b0bb23b69087b5619a76d52eba8743cbbb2.zip
Conditionalize some tests' use of SA_SIGINFO.
Diffstat (limited to 'nptl/tst-cancel20.c')
-rw-r--r--nptl/tst-cancel20.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/tst-cancel20.c b/nptl/tst-cancel20.c
index 4a964da487..51b558e98d 100644
--- a/nptl/tst-cancel20.c
+++ b/nptl/tst-cancel20.c
@@ -227,6 +227,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;
@@ -254,6 +255,7 @@ do_test (void)
   puts ("sa_flags = SA_SIGINFO|SA_ONSTACK test");
   if (do_one_test ())
     return 1;
+#endif
 
   return 0;
 }