mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
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:
parent
0966ec0861
commit
523579e075
@ -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.")
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user