mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
LibCore: All BSDs need sig_t instead of sighandler_t
This commit is contained in:
parent
d710da108c
commit
b3aa36d7bd
2 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigac
|
|||
return {};
|
||||
}
|
||||
|
||||
#if defined(AK_OS_MACOS) || defined(AK_OS_OPENBSD) || defined(AK_OS_FREEBSD)
|
||||
#if defined(AK_OS_BSD_GENERIC)
|
||||
ErrorOr<sig_t> signal(int signal, sig_t handler)
|
||||
#else
|
||||
ErrorOr<sighandler_t> signal(int signal, sighandler_t handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue