diff --git a/src/openrct2/platform/Platform.h b/src/openrct2/platform/Platform.h index 25f2e6c734..1dbf09e2f0 100644 --- a/src/openrct2/platform/Platform.h +++ b/src/openrct2/platform/Platform.h @@ -13,6 +13,7 @@ #include "../core/DateTime.h" #include "../core/StringTypes.h" +#include #include #include @@ -31,6 +32,9 @@ #define MAX_PATH 260 #endif +static_assert( + std::endian::native == std::endian::little, "OpenRCT2 is known to be broken on big endian. Proceed with caution!"); + enum class SPECIAL_FOLDER { USER_CACHE,