diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-25 16:23:15 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-25 16:23:15 -0700 |
commit | 0a775b38c754d8d756838d1c05d6564cc8ba928e (patch) | |
tree | 8abe62fd9476544fa513c090c362f423e2193f56 /templates/vsprojects/global.props.template | |
parent | 9d17f09ebe294e1d727c194f45da0576b0b4b1dc (diff) | |
parent | b70e3be0409225b0e389379cc62d740694b888ac (diff) |
Merge pull request #2920 from nicolasnoble/winnt-check
Better handling of _WIN32_WINNT.
Diffstat (limited to 'templates/vsprojects/global.props.template')
-rw-r--r-- | templates/vsprojects/global.props.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vsprojects/global.props.template b/templates/vsprojects/global.props.template index 0fc86c4546..5b8d1e1182 100644 --- a/templates/vsprojects/global.props.template +++ b/templates/vsprojects/global.props.template @@ -10,7 +10,7 @@ <ItemDefinitionGroup> <ClCompile> <AdditionalIncludeDirectories>$(SolutionDir)\..;$(SolutionDir)\..\include;$(SolutionDir)\..\third_party\protobuf\src;${';'.join('$(SolutionDir)\\packages\\%s.%s\\build\\native\\include' % (p.name, p.version) for p in vspackages)};%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - <PreprocessorDefinitions>_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_WIN32_WINNT=0x600;_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <WarningLevel>EnableAllWarnings</WarningLevel> </ClCompile> </ItemDefinitionGroup> |