aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config
diff options
context:
space:
mode:
authorJerome Gaillard <jgaillard@google.com>2018-12-12 13:59:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-12 13:59:56 +0000
commitff42f04af8f8ab43bfaf5260ffabd116b1edb997 (patch)
tree04912ebb5a80293e9b23b8eecc87e69b98735990 /cc/config
parent08e047fdc6acfefe461ac9413b04141e58423d3f (diff)
parent82bb8b13596cb2f3b73564a036075aee24d00db4 (diff)
downloadbuild_soong-ff42f04af8f8ab43bfaf5260ffabd116b1edb997.tar.gz
build_soong-ff42f04af8f8ab43bfaf5260ffabd116b1edb997.tar.bz2
build_soong-ff42f04af8f8ab43bfaf5260ffabd116b1edb997.zip
Merge "Upgrade Windows default build version from Vista to 7"
Diffstat (limited to 'cc/config')
-rw-r--r--cc/config/x86_windows_host.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/config/x86_windows_host.go b/cc/config/x86_windows_host.go
index e23c0a08..dfdd40c8 100644
--- a/cc/config/x86_windows_host.go
+++ b/cc/config/x86_windows_host.go
@@ -33,9 +33,9 @@ var (
// Use C99-compliant printf functions (%zd).
"-D__USE_MINGW_ANSI_STDIO=1",
- // Admit to using >= Vista. Both are needed because of <_mingw.h>.
- "-D_WIN32_WINNT=0x0600",
- "-DWINVER=0x0600",
+ // Admit to using >= Windows 7. Both are needed because of <_mingw.h>.
+ "-D_WIN32_WINNT=0x0601",
+ "-DWINVER=0x0601",
// Get 64-bit off_t and related functions.
"-D_FILE_OFFSET_BITS=64",