mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Explicitly disable building for big endian.
This commit is contained in:
@@ -461,6 +461,13 @@
|
||||
# define BX_CPP_NAME "C++Unknown"
|
||||
#endif // defined(__cplusplus)
|
||||
|
||||
#if BX_CPU_ENDIAN_BIG
|
||||
static_assert(false, "\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 \
|
||||
|| BX_PLATFORM_HURD
|
||||
|
||||
Reference in New Issue
Block a user