summaryrefslogtreecommitdiff
path: root/compat/bswap.h
AgeCommit message (Expand)AuthorFilesLines
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