compat/bswap.h: simplify MSVC endianness detection
authorDaniel Gurney <redacted>
Sun, 8 Nov 2020 09:57:41 +0000 (11:57 +0200)
committerJunio C Hamano <redacted>
Mon, 9 Nov 2020 21:01:10 +0000 (13:01 -0800)
commit1af265f0a01bba0daac8865ad38075f0cb124743
tree3142680e2eda2a3b1125596ef21f8a6f8e6b9e6e
parent898f80736c75878acc02dc55672317fcc0e0a5a6
compat/bswap.h: simplify MSVC endianness detection

Modern MSVC or Windows versions don't support big-endian, so it's
unnecessary to consider architectures when using it.

This also makes ARM64 MSVC builds succeed.

Helped-by: brian m. carlson <redacted>
Signed-off-by: Daniel Gurney <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/bswap.h
git clone https://git.99rst.org/PROJECT