summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-10-12 19:11:51 +0100
committerVicent Marti <tanoku@gmail.com>2010-10-27 00:59:05 +0300
commite30056275c2a6d857d004d850658ccf3490a7876 (patch)
treee96bc1f77a329e342eec430c0d8119ee314dc9b9 /src/commit.c
parent0d95f32c55a18303a87147467ebd68ea24995753 (diff)
downloadlibgit2-e30056275c2a6d857d004d850658ccf3490a7876.tar.gz
bswap.h: Add ntohs() and htons() functions
Since commit 70aab459, the msvc and MinGW builds have relied on the built-in implementation of ntohl() and htonl(), rather than linking the wsock32 library. The new index manipulation code now calls ntohs()/htons() in addition to ntohl()/htonl(), so we need to provide a built-in implementation of the 16-bit functions. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions