diff --git a/src/openrct2/common.h b/src/openrct2/common.h index e33c5f5df8..1a1d89dafe 100644 --- a/src/openrct2/common.h +++ b/src/openrct2/common.h @@ -220,16 +220,7 @@ typedef uint16 rct_string_id; #define RESTRICT #endif -#ifdef __cplusplus #define assert_struct_size(x, y) static_assert(sizeof(x) == (y), "Improper struct size") -#else - // Visual Studio does not know _Static_assert - #if !defined(_MSC_VER) - #define assert_struct_size(x, y) _Static_assert(sizeof(x) == (y), "Improper struct size") - #else - #define assert_struct_size(x, y) - #endif // !defined(_MSC_VER) -#endif #ifdef PLATFORM_X86 #ifndef FASTCALL