libc++abi: silence some warnings

Cleans up the -Wundef warning caused by the use of the __LITTLE_ENDIAN__ macro.
Instead use `__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__`.  `__BYTE_ORDER__` is
defined by GCC since 4.2 and by clang.  This avoids the undef case where a macro
may be undefined.  This has previously caught real errors in libunwind.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@235828 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed