Re: [PATCH v2] compat/bswap.h: simplify MSVC endianness detection
- From
Jeff King <peff@peff.net>
- Date
- Nov 10, 2020, 00:31 UTC
- Message-ID
- <20201110003127.GA1268480@coredump.intra.peff.net>
- In-Reply-To
- <20201108095739.23144-1-dgurney99@gmail.com>
On Sun, Nov 08, 2020 at 11:57:41AM +0200, Daniel Gurney wrote:
> Modern MSVC or Windows versions don't support big-endian, so it's > unnecessary to consider architectures when using it.
This made me wonder if we support any non-modern versions (which would be negatively impacted).
From the earlier thread at [1], it sounds like probably not, but I wonder if we can offer a stronger argument there (or just define "modern" a little more clearly).
-Peff
[1] https://lore.kernel.org/git/20201107224747.GF6252@camp.crustytoothpaste.net/