Files
git-mirror/compat
Sebastian Andrzej Siewior 1c62df0abe Revert "bswap.h: add support for built-in bswap functions"
Since 6547d1c9 (bswap.h: add support for built-in bswap
functions, 2025-04-23) tweaked the way the bswap32/64 macros are
defined, on platforms with __builtin_bswap32/64 supported, the
bswap32/64 macros are defined even on big endian platforms.

However the rest of this file assumes that bswap32/64() are defined
ONLY on little endian machines and uses that assumption to redefine
ntohl/ntohll macros. The said commit broke t4014-format-patch.sh test,
among many others on s390x.

Revert the commit.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-06-12 13:23:39 -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
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00