diff options
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/Support/Host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Host.h b/llvm/include/llvm/Support/Host.h index 103a7eb0367..cba60928908 100644 --- a/llvm/include/llvm/Support/Host.h +++ b/llvm/include/llvm/Support/Host.h @@ -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; |