Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Jun 17, 2024
1 parent 4d4fa5a commit bb9f144
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions include/bx/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bb9f144

Please sign in to comment.