git/compat
Sebastian Andrzej Siewior 30dea7ddf7 bswap.h: define GIT_LITTLE_ENDIAN on msvc as little endian
The Microsoft Visual C++ (MSVC) compiler (as of Visual Studio 2022
version 17.13.6) does not define __BYTE_ORDER__ and its C-library does
not define __BYTE_ORDER. The compiler is supported only on arm64 and x86
which are all little endian.

Define GIT_BYTE_ORDER on msvc as little endian to avoid further checks.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-07-15 14:36:21 -07:00
..
2024-10-25 14:02:04 -04:00
2025-04-15 13:50:15 -07:00
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2010-11-23 16:06:50 -08:00
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00