1
0
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:
Rafael Espindola 2013-04-15 19:28:45 +00:00
parent bd67f8cd81
commit 9cf2c1eeb5

View File

@ -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;