Skip to content

Commit

Permalink
Bump WINVER to 0x0601 (Windows 7)
Browse files Browse the repository at this point in the history
This CL bumps WINVER to 0x0601 (Windows 7), as a preparation to
unsupport Windows Vista and prior OSes.

With this change we can start using Win32 APIs that are available only
on Windows 7 and later, without relying on GetProcAddress().

BUG=#372
TEST=
REF_BUG=27053168
REF_CL=114043856
REF_TIME=2016-02-06T21:34:45-08:00
REF_TIME_RAW=1454823285 -0800
  • Loading branch information
yukawa committed Feb 7, 2016
1 parent 42fe48a commit 6cbe478
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/build_mozc_in_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ How to build Mozc in Windows

# System Requirements

64-bit Windows is required to build Mozc for Windows. Mozc itself is expected to work on Windows Vista SP2 and later, including 32-bit Windows.
64-bit Windows is required to build Mozc for Windows. Mozc itself is expected to work on Windows 7 and later, including 32-bit Windows.

# Software Requirements

Expand Down
6 changes: 3 additions & 3 deletions src/gyp/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
'UNICODE',
'WIN32',
'WIN32_IE=0x0800',
'WINVER=0x0600',
'WINVER=0x0601',
'WIN32_LEAN_AND_MEAN',
'_ATL_ALL_WARNINGS',
'_ATL_ALLOW_CHAR_UNSIGNED',
Expand All @@ -620,8 +620,8 @@
'_STL_MSVC',
'_UNICODE',
'_WIN32',
'_WIN32_WINDOWS=0x0600',
'_WIN32_WINNT=0x0600',
'_WIN32_WINDOWS=0x0601',
'_WIN32_WINNT=0x0601',
'_WINDOWS',
],
'include_dirs': [
Expand Down
2 changes: 1 addition & 1 deletion src/mozc_version_template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAJOR=2
MINOR=17
BUILD=2445
BUILD=2446
REVISION=102
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
# downloaded by NaCl Mozc.
Expand Down

0 comments on commit 6cbe478

Please sign in to comment.