forked from OSchip/llvm-project
Fix endianness on some MSVC versions.
Looks like it was evaluating undef == undef to true. llvm-svn: 179549
This commit is contained in:
parent
a571e21c4e
commit
a652799f70
llvm/include/llvm/Support
|
@ -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