aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parent0966ec08610c02c8556105f2fff88a7e7247a549 (diff)
downloadexternal_llvm-523579e0758bfa5781b63eabdc079a3ff074c36a.zip
external_llvm-523579e0758bfa5781b63eabdc079a3ff074c36a.tar.gz
external_llvm-523579e0758bfa5781b63eabdc079a3ff074c36a.tar.bz2
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')
-rw-r--r--include/llvm/Config/config.h.cmake2
-rw-r--r--include/llvm/Support/Endian.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 01b9460..73ec246 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -507,7 +507,7 @@
#cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
/* Define if this is targeting a big endian system */
-#cmakedefine LLVM_IS_TARGET_BIG_ENDIAN ${LLVM_IS_TARGET_BIG_ENDIAN}
+#cmakedefine LLVM_IS_HOST_BIG_ENDIAN ${LLVM_IS_HOST_BIG_ENDIAN}
/* Added by Kevin -- Maximum path length */
#cmakedefine MAXPATHLEN ${MAXPATHLEN}
diff --git a/include/llvm/Support/Endian.h b/include/llvm/Support/Endian.h
index 985c587..c98e2dc 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