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
This commit is contained in:
Michael J. Spencer 2010-10-22 08:47:28 +00:00
parent 0966ec0861
commit 523579e075
3 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@ if( LLVM_ENABLE_THREADS )
endif()
endif()
test_big_endian(LLVM_IS_TARGET_BIG_ENDIAN)
test_big_endian(LLVM_IS_HOST_BIG_ENDIAN)
if( ENABLE_THREADS )
message(STATUS "Threads enabled.")

View File

@ -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}

View File

@ -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