From 5e7888b672fdef01fc28a80410bd482b76e525fa Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Mon, 20 Apr 2026 11:30:04 +0200 Subject: [PATCH] Minor clean ups for macOS Platform and UiContext units (#26416) --- src/openrct2-ui/UiContext.macOS.mm | 12 +++--------- src/openrct2/platform/Platform.macOS.mm | 7 ------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/openrct2-ui/UiContext.macOS.mm b/src/openrct2-ui/UiContext.macOS.mm index 7cf788c339..87b884169e 100644 --- a/src/openrct2-ui/UiContext.macOS.mm +++ b/src/openrct2-ui/UiContext.macOS.mm @@ -11,19 +11,13 @@ #include "UiContext.h" - #include - #include - #include - - // undefine `interface` and `abstract`, because it's causing conflicts with Objective-C's keywords - #undef interface - #undef abstract - #include - #import + #include #include #include #include + #include + #include #include namespace OpenRCT2::Ui diff --git a/src/openrct2/platform/Platform.macOS.mm b/src/openrct2/platform/Platform.macOS.mm index ad465d05a2..b694f1a408 100644 --- a/src/openrct2/platform/Platform.macOS.mm +++ b/src/openrct2/platform/Platform.macOS.mm @@ -11,21 +11,14 @@ #include "Platform.h" - #include "../Date.h" #include "../OpenRCT2.h" #include "../core/Path.hpp" #include "../core/String.hpp" #include "../localisation/Language.h" - // undefine `interface` and `abstract`, because it's causing conflicts with Objective-C's keywords - #undef interface - #undef abstract - - #include #include #include #include - #include #include namespace OpenRCT2::Platform