Define BYTE_ORDER on Solaris.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 21 May 2013 20:36:13 +0000 (20:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 21 May 2013 20:36:13 +0000 (20:36 +0000)
commit01ef4f6982451e6a7c00a713d9ae677d3a15d042
tree56c3172ecb8a1814f4907fed026ef5db1833dd5c
parenta4ea4a72031809911d77f543eb65175e00fe914e
Define BYTE_ORDER on Solaris.

Solaris doesn't have an endian.h header, but SPARC is the only
big-endian architecture that runs Solaris, so just use that to detect
endianness at compile time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182419 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Host.h
include/llvm/Support/Solaris.h