13 Commits (d8cd32792a0a8a52ff4f5f4bb74f9044bcb9a97a)

Author SHA1 Message Date
David Michael bfb0e6fcd2 compat/bswap.h: detect endianness from XL C compiler macros 10 years ago
Ben Walton 9c65ee15ee compat/bswap.h: fix endianness detection 11 years ago
Junio C Hamano 839fa9c500 compat/bswap.h: restore preference __BIG_ENDIAN over BIG_ENDIAN 11 years ago
Charles Bailey 3cf6bb3406 compat/bswap.h: detect endianness on more platforms that don't use BYTE_ORDER 11 years ago
Jeff King c3d8da571f read-cache: use get_be32 instead of hand-rolled ntoh_l 11 years ago
Jeff King 802b123366 block-sha1: factor out get_be and put_be wrappers 11 years ago
Vicent Marti 7e3dae4943 compat: add endianness helpers 11 years ago
Jonathan Nieder c6c8d0b797 compat: make gcc bswap an inline function 14 years ago
Holger Weiß 21e403a7b9 Don't redefine htonl and ntohl on big-endian 15 years ago
Benjamin Kramer b073b7a990 Explicitly truncate bswap operand to uint32_t 15 years ago
Sebastian Schuberth 0fcabdeb52 Use faster byte swapping when compiling with MSVC 15 years ago
Ramsay Jones 5322ef2006 Fix some printf format warnings 15 years ago
Nicolas Pitre 51ea55190b make sure byte swapping is optimal for git 15 years ago