diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/tst-cancel20.c | 2 | ||||
-rw-r--r-- | nptl/tst-cancel21.c | 2 |
2 files changed, 4 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; } 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; } |