pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/devel/git-base/patches
On Thu, May 25, 2017 at 11:21:06AM +0900, Kimihiro Nonaka wrote:
> Hi,
>
> This patch will always be treated as big endian on NetBSD.
> _BIG_ENDIAN is always defined in sys/endian.h.
#if (defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN)) || \
(defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __BIG_ENDIAN__)) || \
+ (defined(_BYTE_ORDER) && (_BYTE_ORDER == _BIG_ENDIAN)) || \
defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \
defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__)
Am I confused with the plenty paranthesis? It looks correct to me.
Martin
Home |
Main Index |
Thread Index |
Old Index