commit | 2493be607e71d8f309eed09b874ae97cdc248a96 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Mon Apr 27 02:21:52 2015 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Mon Apr 27 02:21:52 2015 +0000 |
tree | feb6495d55f6eb5a4f93c46491d19e7faa189d72 | |
parent | 561567f044f497946fea564cd42ea650bf3d5154 [diff] |
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