Use compiler provided endianness definitions if available.
authorEd Schouten <ed@80386.nl>
Mon, 23 Feb 2015 09:27:49 +0000 (09:27 +0000)
committerEd Schouten <ed@80386.nl>
Mon, 23 Feb 2015 09:27:49 +0000 (09:27 +0000)
commitf6d492e6835b23495ae24c0f0473b81d5eca8104
tree6630ae89a11c98aa764fd6ad588247f2a17c1ce9
parent4992099b42e9bb6faceb61ed093155bf2ebe7157
Use compiler provided endianness definitions if available.

This makes int_endianness.h work on operating systems for which we
haven't written explicit constructs, as long as GCC or Clang are being
used.

llvm-svn: 230208
compiler-rt/lib/builtins/int_endianness.h