summaryrefslogtreecommitdiff
path: root/compat/bswap.h
AgeCommit message (Expand)AuthorFilesLines
2014-01-23read-cache: use get_be32 instead of hand-rolled ntoh_lLibravatar Jeff King1-0/+4
2014-01-23block-sha1: factor out get_be and put_be wrappersLibravatar Jeff King1-0/+32
2013-11-18compat: add endianness helpersLibravatar Vicent Marti1-1/+75
2011-03-16compat: make gcc bswap an inline functionLibravatar Jonathan Nieder1-8/+10
2010-03-31Don't redefine htonl and ntohl on big-endianLibravatar Holger Weiß1-0/+2
2009-11-25Explicitly truncate bswap operand to uint32_tLibravatar Benjamin Kramer1-1/+1
2009-10-30Use faster byte swapping when compiling with MSVCLibravatar Sebastian Schuberth1-0/+10
2009-10-02Fix some printf format warningsLibravatar Ramsay Jones1-2/+2
2009-08-18make sure byte swapping is optimal for gitLibravatar Nicolas Pitre1-0/+36