From e74ed439dfa85e251c29ba933def85fbe0781603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Fauberteau?= Date: Sat, 8 Feb 2025 11:08:21 +0100 Subject: [PATCH] Support NetBSD --- src/openrct2/platform/Platform.Posix.cpp | 2 +- src/openrct2/platform/Platform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/platform/Platform.Posix.cpp b/src/openrct2/platform/Platform.Posix.cpp index ae24b045f6..2d525c6183 100644 --- a/src/openrct2/platform/Platform.Posix.cpp +++ b/src/openrct2/platform/Platform.Posix.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) +#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__NetBSD__) #include "Platform.h" diff --git a/src/openrct2/platform/Platform.h b/src/openrct2/platform/Platform.h index 1dbf09e2f0..470e2989ef 100644 --- a/src/openrct2/platform/Platform.h +++ b/src/openrct2/platform/Platform.h @@ -86,7 +86,7 @@ namespace OpenRCT2::Platform std::string GetUsername(); std::string GetSteamPath(); -#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) +#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__NetBSD__) std::string GetEnvironmentPath(const char* name); std::string GetHomePath(); #endif