From 871ef7a73570a9af55af770437922fd229156c83 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 12 Sep 2021 09:06:33 -0700 Subject: 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`. --- Userland/Libraries/LibCore/LocalServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibCore') 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"); -- cgit v1.2.3