From: Ramsay Jones Date: Thu, 31 Jan 2013 18:26:46 GMT Subject: [PATCH 0/5] Fix msvc build Message-ID: <510AB766.4030806@ramsay1.demon.co.uk> As I mentioned recently, while discussing a cygwin specific patch (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the MSVC build is broken for me. The first 4 patches fix the MSVC build for me. The final patch is not really related to fixing the build, but it removed some make warnings which were quite irritating ... Note that I used the Makefile, with the Visual C++ 2008 command line compiler on Windows XP (SP3), to build a vanilla git on MinGW. I'm not subscribed to the msysgit mailing list, nor do I follow the msysgit fork of git, so these patches may conflict with commits in their repository. HTH ATB, Ramsay Jones Ramsay Jones (5): msvc: Fix compilation errors caused by poll.h emulation msvc: git-daemon: Fix linker "unresolved external" errors msvc: Fix build by adding missing symbol defines msvc: test-svn-fe: Fix linker "unresolved external" error msvc: avoid collisions between "tags" and "TAGS" compat/msvc.h | 2 ++ compat/vcbuild/include/sys/poll.h | 1 - compat/vcbuild/include/unistd.h | 3 +++ config.mak.uname | 4 +++- git-compat-util.h | 3 +++ test-svn-fe.c | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) delete mode 100644 compat/vcbuild/include/sys/poll.h -- 1.8.1