Code

msvc: git-daemon.exe: Fix linker "unresolved externals" error
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 4 Dec 2010 18:55:51 +0000 (18:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Dec 2010 19:13:56 +0000 (11:13 -0800)
commitb7037b6a1f463ffe33390f26840d6cc1600dbb18
treebb56924234257225d114ae2397b0c903d2c732c5
parent56fb3ddc89ab94c8b09d178a848cb553b4acf777
msvc: git-daemon.exe: Fix linker "unresolved externals" error

The msvc linker complains about external symbols referenced by
the new poll() emulation code. In particular, it complains about
the DispatchMessage(), PeekMessage(), TranslateMessage() and
MsgWaitForMultipleObjects() functions.

In order to satisfy the external references, we link against the
user32.lib library.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile