mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Fix endianness on some MSVC versions.
Looks like it was evaluating undef == undef to true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a256300f8
commit
92b0d0ec4f
@ -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…
x
Reference in New Issue
Block a user