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 \