diff options
author | ngie <ngie@FreeBSD.org> | 2014-10-10 19:34:19 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-10-10 19:34:19 +0000 |
commit | a9e5625f70e9f41a8bbface0fe26b4d84927695b (patch) | |
tree | 7e0581ebb59425c22050d5a3839712821c967b86 | |
parent | 5ce4af18cfbb66514344003b6c81710f21c3e3b6 (diff) | |
download | FreeBSD-src-a9e5625f70e9f41a8bbface0fe26b4d84927695b.zip FreeBSD-src-a9e5625f70e9f41a8bbface0fe26b4d84927695b.tar.gz |
SIGPWR does not exist on FreeBSD
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | contrib/netbsd-tests/lib/libc/gen/t_raise.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/gen/t_raise.c b/contrib/netbsd-tests/lib/libc/gen/t_raise.c index adc032f..120981f 100644 --- a/contrib/netbsd-tests/lib/libc/gen/t_raise.c +++ b/contrib/netbsd-tests/lib/libc/gen/t_raise.c @@ -43,7 +43,11 @@ static int count; static void handler_err(int); static void handler_ret(int); static void handler_stress(int); +#if defined(__FreeBSD__) +static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2 }; +#else static int sig[] = { SIGALRM, SIGIO, SIGUSR1, SIGUSR2, SIGPWR }; +#endif static void handler_stress(int signo) |