]> err.no Git - util-linux/commit
build-sys: use WORDS_BIGENDIAN to determine platform byte-order
authorFabian Groffen <grobian@gentoo.org>
Sat, 8 Jan 2011 18:49:38 +0000 (19:49 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Jan 2011 14:34:45 +0000 (15:34 +0100)
commitaabe2441765c632bba697945491e3e0ac29ac886
treebf7e34cc148a94f8d4a5d3fc5e090d9710a5043a
parentdfdf2081eb40c5c595dda3cc5ba37211aee570ff
build-sys: use WORDS_BIGENDIAN to determine platform byte-order

Autoconf contains the right magic to determine the endianness on many
platforms next to Linux.  This reverses previous commits to move away
from WORDS_BIGENDIAN:
"use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN"

This is necessary to compile on non Linux platforms like Darwin and
Solaris.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
include/bitops.h
lib/md5.c
sys-utils/lscpu.c
tests/helpers/test_sysinfo.c