diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:29:50 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:29:50 -0800 |
commit | cfa69b0bb23b69087b5619a76d52eba8743cbbb2 (patch) | |
tree | 832e3f9c2cf14a4d6805ee7c1bcd07adb7f5caed /nptl/tst-cancel20.c | |
parent | 827278060826e62e5f30d9f39f745e075669dc26 (diff) | |
download | glibc-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.c | 2 |
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; } |