mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +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
|
@ -58,7 +58,7 @@ ErrorOr<int> accept4(int sockfd, struct sockaddr*, socklen_t*, int flags);
|
|||
#endif
|
||||
|
||||
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);
|
||||
#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