]> git.ipfire.org Git - thirdparty/git.git/commit - compat/mingw.c
mingw: add network-wrappers for daemon
authorMike Pape <dotzenlabs@gmail.com>
Thu, 4 Nov 2010 01:35:09 +0000 (02:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 23:53:49 +0000 (16:53 -0700)
commit772991af40e139814368762d4075be324bfdab77
tree19de3baa67240b23ef4feef6f01d59425c3fc643
parentca209065f3cc3462eb0ae6090f6b13f38aa2114c
mingw: add network-wrappers for daemon

git-daemon requires some socket-functionality that is not yet
supported in the Windows-port. This patch adds said functionality,
and makes sure WSAStartup gets called by socket(), since it is the
first network-call in git-daemon.

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>
compat/mingw.c
compat/mingw.h