diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-19 12:20:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-19 12:20:40 -0700 |
commit | 9b79956018fafb97da82839148d3ea2acd3e5959 (patch) | |
tree | 25d7b1a50bc3510a6a6c98ffb44f34e12932a97d /git-compat-util.h | |
parent | 31ccd35df4b7599c83fe46669ca36ca2c4fb3caa (diff) | |
parent | e0492c5be123ca264a5477e3481a8a765fe9ae99 (diff) | |
download | git-9b79956018fafb97da82839148d3ea2acd3e5959.tar.gz |
Merge branch 'rj/msvc-build'
* rj/msvc-build:
msvc: avoid collisions between "tags" and "TAGS"
msvc: test-svn-fe: Fix linker "unresolved external" error
msvc: Fix build by adding missing symbol defines
msvc: git-daemon: Fix linker "unresolved external" errors
msvc: Fix compilation errors caused by poll.h emulation
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index e715285e7c..90e0372038 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -86,6 +86,9 @@ #define _SGI_SOURCE 1 #ifdef WIN32 /* Both MinGW and MSVC */ +# if defined (_MSC_VER) +# define _WIN32_WINNT 0x0502 +# endif #define WIN32_LEAN_AND_MEAN /* stops windows.h including winsock.h */ #include <winsock2.h> #include <windows.h> |