mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
AK+LibCore: Standardize on AK_OS_MACOS instead of __APPLE__
We use our custom platform definitions in most places, remove the few remaining places we weren't using `AK_OS_MACOS`.
This commit is contained in:
parent
51da5d03da
commit
871ef7a735
Notes:
sideshowbarker
2024-07-18 04:07:17 +09:00
Author: https://github.com/bgianfo
Commit: 871ef7a735
Pull-request: https://github.com/SerenityOS/serenity/pull/10000
3 changed files with 6 additions and 5 deletions
|
@ -104,7 +104,7 @@ bool LocalServer::listen(const String& address)
|
|||
fcntl(m_fd, F_SETFD, FD_CLOEXEC);
|
||||
#endif
|
||||
VERIFY(m_fd >= 0);
|
||||
#ifndef __APPLE__
|
||||
#ifndef AK_OS_MACOS
|
||||
rc = fchmod(m_fd, 0600);
|
||||
if (rc < 0) {
|
||||
perror("fchmod");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue