mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
Fix endianness on some MSVC versions.
Looks like it was evaluating undef == undef to true. llvm-svn: 179549
This commit is contained in:
parent
bd67f8cd81
commit
9cf2c1eeb5
@ -29,7 +29,7 @@
|
||||
namespace llvm {
|
||||
namespace sys {
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#if defined(BYTBYTE_ORDER) && defined(BIG_ENDIAN) && BYTE_ORDER == BIG_ENDIAN
|
||||
static const bool IsBigEndianHost = true;
|
||||
#else
|
||||
static const bool IsBigEndianHost = false;
|
||||
|
Loading…
Reference in New Issue
Block a user