Re: [PATCH] use WORDS_BIGENDIAN to determine platform byte-order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 08, 2011 at 07:49:38PM +0100, Fabian Groffen wrote:
> 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.
> 
> include/bitops.h: use WORDS_BIGENDIAN from autoconf instead of linux specifics
> lib/md5.c: likewise
> sys-utils/lscpu.c: likewise
> tests/helpers/test_sysinfo.c: likewise
> 
> Signed-off-by: Fabian Groffen <grobian@xxxxxxxxxx>

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux