Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-1.6.6-pathspec-stdin-and-cmdline'
[gitweb.git]
/
compat
/
win32
/
sys
/
poll.c
diff --git
a/compat/win32/sys/poll.c
b/compat/win32/sys/poll.c
index 7e74ebe59a5ea2e31a9100659805ada0f5d8e278..708a6c9bec5c04cd95861b77475e54445c0d24fc 100644
(file)
--- a/
compat/win32/sys/poll.c
+++ b/
compat/win32/sys/poll.c
@@
-34,6
+34,9
@@
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
# define WIN32_NATIVE
+# if defined (_MSC_VER)
+# define _WIN32_WINNT 0x0502
+# endif
# include <winsock2.h>
# include <windows.h>
# include <io.h>