From bb9f14424342587e71252c0b1ecfdf0bbaa6c3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 17 Jun 2024 09:18:43 -0700 Subject: [PATCH] Cleanup. --- include/bx/platform.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index c6730a4..edc050b 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -464,28 +464,22 @@ //#error "Minimum supported macOS version is 16.00.\n" #endif // BX_PLATFORM_OSX < 130000 -#if BX_COMPILER_CLANG && BX_COMPILER_CLANG < 11000 // https://releases.llvm.org/ -static_assert(false, "\n\n" +static_assert(!BX_COMPILER_CLANG || BX_COMPILER_CLANG >= 110000, "\n\n" "\t** IMPORTANT! **\n\n" - "\tMinimum supported Clang version is 11.0 (October 12, 2020).\n"); + "\tMinimum supported Clang version is 11.0 (October 12, 2020).\n" "\t\n"); -#endif // BX_COMPILER_* -#if BX_COMPILER_GCC && BX_COMPILER_GCC < 80400 // https://gcc.gnu.org/releases.html -static_assert(false, "\n\n" +static_assert(!BX_COMPILER_GCC || BX_COMPILER_GCC >= 80400, "\n\n" "\t** IMPORTANT! **\n\n" "\tMinimum supported GCC version is 8.4 (March 4, 2020).\n" "\t\n"); -#endif // BX_COMPILER_* -#if BX_CPU_ENDIAN_BIG -static_assert(false, "\n\n" +static_assert(!BX_CPU_ENDIAN_BIG, "\n\n" "\t** IMPORTANT! **\n\n" "\tThe code was not tested for big endian, and big endian CPU is considered unsupported.\n" "\t\n"); -#endif // BX_CPU_ENDIAN_BIG #if BX_PLATFORM_BSD \ || BX_PLATFORM_HAIKU \