diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2013-09-11 20:06:31 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-12 01:50:19 +0400 |
commit | 8453c1259a3b6fe89d67b6e783cc535b60f298c1 (patch) | |
tree | f06c9244e55b0afee23996918b64bad836cac3aa /git-compat-util.h | |
parent | fa93bb20d72edf9f7635c63d46101edb206d3d6f (diff) |
Windows: do not redefine _WIN32_WINNT
With MinGW runtime version 4.0 this interferes with the previous
definition from sdkddkver.h.
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 9549de63181..7776f126d3b 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -86,7 +86,7 @@ #define _SGI_SOURCE 1 #if defined(WIN32) && !defined(__CYGWIN__) /* Both MinGW and MSVC */ -# if defined (_MSC_VER) +# if defined (_MSC_VER) && !defined(_WIN32_WINNT) # define _WIN32_WINNT 0x0502 # endif #define WIN32_LEAN_AND_MEAN /* stops windows.h including winsock.h */ |