1
0
mirror of https://github.com/git/git.git synced 2025-03-25 14:44:56 +00:00
Ramsay Jones 41f2999180 msvc: Fix compilation errors caused by poll.h emulation
Commit 0f77dea9 ("mingw: move poll out of sys-folder", 24-10-2011), along
with other commits in the 'ef/mingw-upload-archive' branch (see commit
7406aa20), effectively reintroduced the same problem addressed by commit
56fb3ddc ("msvc: Fix compilation errors in compat/win32/sys/poll.c",
04-12-2010).

In order to fix the compilation errors, we use the same solution adopted
in that earlier commit. In particular, we set _WIN32_WINNT to 0x0502
(which would target Windows Server 2003) prior to including the winsock2.h
header file.

Also, we delete the compat/vcbuild/include/sys/poll.h header file, since
it is now redundant and it's presence may cause some confusion.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Tested-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-02-25 12:39:56 -08:00
..
2013-01-10 13:47:20 -08:00
2008-09-30 14:30:06 -07:00
2009-03-02 18:28:06 -08:00
2012-12-11 15:51:14 -08:00
2007-06-07 00:04:01 -07:00
2010-11-23 16:06:50 -08:00
2011-10-31 20:06:03 -07:00
2011-09-11 14:43:33 -07:00
2011-08-28 22:03:26 -07:00
2010-08-14 19:35:38 -07:00
2009-09-18 20:00:42 -07:00