[PATCH] builtins: avoid endian.h in favour of compiler builtins
Saleem Abdulrasool
compnerd at compnerd.org
Tue Sep 30 20:44:04 PDT 2014
Hi rengolin,
Use the __BYTE_ORDER__ macro which has been available in GCC since 4.6 and is
available in clang as well.
http://reviews.llvm.org/D5557
Files:
lib/builtins/int_endianness.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5557.14263.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141001/40808797/attachment.bin>
More information about the llvm-commits
mailing list