Use boost/predef/detail/endian_compat.h to determine endianness.