summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2009-11-23 22:55:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-24 08:57:39 (GMT)
commitb7cc9f82594a2d5fe12867c515d86d91ecedad8f (patch)
treeeecc9024254902cb3c6030d5d8a382afc9b8cfc4 /compat/mingw.h
parent1fdffa616119aeb607e211a77688c9bc3883ca87 (diff)
downloadgit-b7cc9f82594a2d5fe12867c515d86d91ecedad8f.zip
git-b7cc9f82594a2d5fe12867c515d86d91ecedad8f.tar.gz
git-b7cc9f82594a2d5fe12867c515d86d91ecedad8f.tar.bz2
Refactor winsock initialization into a separate function
The winsock library must be initialized. Since gethostbyname() is the first function that calls into winsock, it was overridden to do the initialization. This refactoring helps the next patch, where other functions can be called earlier. Signed-off-by: Martin Storsjo <martin@martin.st> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mingw.h')
0 files changed, 0 insertions, 0 deletions