From 131022c37319be4b0862d1891c5745f082a072d9 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Mon, 10 Jan 2022 13:44:22 +0100 Subject: [PATCH] Remove now-empty platform files --- src/openrct2/libopenrct2.vcxproj | 1 - src/openrct2/platform/Linux.cpp | 37 -------------------------------- src/openrct2/platform/macos.mm | 27 ----------------------- 3 files changed, 65 deletions(-) delete mode 100644 src/openrct2/platform/Linux.cpp delete mode 100644 src/openrct2/platform/macos.mm diff --git a/src/openrct2/libopenrct2.vcxproj b/src/openrct2/libopenrct2.vcxproj index cf21190006..349015db7c 100644 --- a/src/openrct2/libopenrct2.vcxproj +++ b/src/openrct2/libopenrct2.vcxproj @@ -785,7 +785,6 @@ - diff --git a/src/openrct2/platform/Linux.cpp b/src/openrct2/platform/Linux.cpp deleted file mode 100644 index 001a14e325..0000000000 --- a/src/openrct2/platform/Linux.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2014-2020 OpenRCT2 developers - * - * For a complete list of all authors, please refer to contributors.md - * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 - * - * OpenRCT2 is licensed under the GNU General Public License version 3. - *****************************************************************************/ - -#include "../common.h" - -// Despite the name, this file contains support for more OSs besides Linux, provided the necessary ifdefs remain small. -// Otherwise, they should be spun off into their own files. -#if defined(__unix__) && !defined(__ANDROID__) && !defined(__APPLE__) - -# ifdef __FreeBSD__ -# include -# endif - -# include -# include -# include -# include -# ifndef NO_TTF -# include -# endif // NO_TTF -# include "../config/Config.h" -# include "../core/File.h" -# include "../core/Path.hpp" -# include "../localisation/Language.h" -# include "../localisation/StringIds.h" -# include "../util/Util.h" -# include "platform.h" - -# include - -#endif diff --git a/src/openrct2/platform/macos.mm b/src/openrct2/platform/macos.mm deleted file mode 100644 index fca8723d52..0000000000 --- a/src/openrct2/platform/macos.mm +++ /dev/null @@ -1,27 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2014-2020 OpenRCT2 developers - * - * For a complete list of all authors, please refer to contributors.md - * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 - * - * OpenRCT2 is licensed under the GNU General Public License version 3. - *****************************************************************************/ - -#if defined(__APPLE__) && defined(__MACH__) - -# include "../config/Config.h" -# include "../core/Path.hpp" -# include "../localisation/Language.h" -# include "../util/Util.h" -# include "platform.h" - -// undefine `interface` and `abstract`, because it's causing conflicts with Objective-C's keywords -# undef interface -# undef abstract - -# import -# import -# include -# include - -#endif