]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix endianness-detection code on Solaris 11.
authorEvan Nemerson <evan@nemerson.com>
Tue, 15 Mar 2016 03:48:46 +0000 (20:48 -0700)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Thu, 28 Apr 2016 11:37:12 +0000 (13:37 +0200)
commit8348a181e671865e22b1bdf77c1d51780cd0c0d9
tree636725349d199dec9bab0ab31492f7b68e5b6869
parent1d227a260fcc2d7cce4198b979a5c80e3614b8d4
Fix endianness-detection code on Solaris 11.

Solaris doesn't have sys/endian.h or endian.h, it has sys/byteorder.h,
which doesn't define BYTE_ORDER, it defines either _LITTLE_ENDIAN or
_BIG_ENDIAN.
crc32.c