summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Endian.h')
-rw-r--r--include/llvm/Support/Endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Endian.h b/include/llvm/Support/Endian.h
index 985c5870dd..c98e2dc66c 100644
--- a/include/llvm/Support/Endian.h
+++ b/include/llvm/Support/Endian.h
@@ -60,7 +60,7 @@ struct alignment_access_helper<value_type, unaligned>
} // end namespace detail
-#if defined(LLVM_IS_TARGET_BIG_ENDIAN) \
+#if defined(LLVM_IS_HOST_BIG_ENDIAN) \
|| defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
static const endianness host_endianness = big;
#else