mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +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
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