summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-12 09:06:33 -0700
committerAndreas Kling <kling@serenityos.org>2021-09-12 18:31:10 +0200
commit871ef7a73570a9af55af770437922fd229156c83 (patch)
tree4428e8440484a7df89d3caf4bbc4588a90d5a262 /Userland/Libraries/LibCore
parent51da5d03da8e462ef91a331453c345c88f961726 (diff)
downloadserenity-871ef7a73570a9af55af770437922fd229156c83.zip
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`.
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/LocalServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/LocalServer.cpp b/Userland/Libraries/LibCore/LocalServer.cpp
index 1acb063cf1..2f423a56f5 100644
--- a/Userland/Libraries/LibCore/LocalServer.cpp
+++ b/Userland/Libraries/LibCore/LocalServer.cpp
@@ -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");