summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jerome Gaillard <jgaillard@google.com> 2018-12-04 12:36:49 +0000
committer Jerome Gaillard <jgaillard@google.com> 2018-12-06 12:39:12 +0000
commit82bb8b13596cb2f3b73564a036075aee24d00db4 (patch)
treeeb34f995db7a06c17be3a27d15ce47436101718c
parenta7a432fb82493bc10b1ebe50941e73a88815fa43 (diff)
Upgrade Windows default build version from Vista to 7
This is needed to build libicui18n on Windows, as it depends on APIs created in Windows 7 (ResolveLocaleName). Test: sdk build Change-Id: If64510a262f7f1d4d356b1a9960ceea114cfa78a
-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 e23c0a08f..dfdd40c8e 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",