diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-10-12 19:11:51 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-10-27 00:59:05 +0300 |
commit | e30056275c2a6d857d004d850658ccf3490a7876 (patch) | |
tree | e96bc1f77a329e342eec430c0d8119ee314dc9b9 /src/commit.c | |
parent | 0d95f32c55a18303a87147467ebd68ea24995753 (diff) | |
download | libgit2-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