diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Config/config.h.cmake | 2 | ||||
-rw-r--r-- | include/llvm/Support/Endian.h | 2 |
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 |