author | Mike Pape <dotzenlabs@gmail.com> | |
Thu, 4 Nov 2010 01:35:11 +0000 (02:35 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 4 Nov 2010 23:53:49 +0000 (16:53 -0700) | ||
commit | da523cc597b1be7fe61ee870cf93b142e70fab7f | |
tree | 38149dba3a2f29a898352874895bd03f4d79649d | tree | snapshot |
parent | 088d880247dc7bb1a27f07e320bab7f9b63e06bc | commit | diff |
compat: add inet_pton and inet_ntop prototypes
Windows doesn't have inet_pton and inet_ntop, so
add prototypes in git-compat-util.h for them.
At the same time include git-compat-util.h in
the sources for these functions, so they use the
network-wrappers from there on Windows.
Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Windows doesn't have inet_pton and inet_ntop, so
add prototypes in git-compat-util.h for them.
At the same time include git-compat-util.h in
the sources for these functions, so they use the
network-wrappers from there on Windows.
Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
compat/inet_ntop.c | diff | blob | history | |
compat/inet_pton.c | diff | blob | history | |
git-compat-util.h | diff | blob | history |