mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
LibCore: Add FreeBSD as OpenBSD/Apple in System.cpp & System.h
This commit is contained in:
parent
8ad9f49de3
commit
4f716caa33
2 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigac
|
|||
return {};
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
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