summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Endian.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-22 08:47:28 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-22 08:47:28 +0000
commit523579e0758bfa5781b63eabdc079a3ff074c36a (patch)
treee3b7a0f17766b46051feb002a7e5dc48aab906ab /include/llvm/Support/Endian.h
parent0966ec08610c02c8556105f2fff88a7e7247a549 (diff)
downloadllvm-523579e0758bfa5781b63eabdc079a3ff074c36a.tar.gz
llvm-523579e0758bfa5781b63eabdc079a3ff074c36a.tar.bz2
llvm-523579e0758bfa5781b63eabdc079a3ff074c36a.tar.xz
Rename LLVM_IS_TARGET_BIG_ENDIAN to LLVM_IS_HOST_BIG_ENDIAN to reflect what it actually means.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117092 91177308-0d34-0410-b5e6-96231b3b80d8
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