From f05e1037b5928f683b0303aa923742f9198230ed Mon Sep 17 00:00:00 2001 From: "wfh@chromium.org" Date: Thu, 8 May 2014 21:17:04 +0000 Subject: [PATCH] Add required build options to correctly target XP BUG=588 R=chrisha@chromium.org Review URL: https://breakpad.appspot.com/5664002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1327 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/build/common.gypi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/build/common.gypi b/src/build/common.gypi index f3a0e23b..097fadc1 100644 --- a/src/build/common.gypi +++ b/src/build/common.gypi @@ -362,6 +362,8 @@ '_CRT_SECURE_NO_DEPRECATE', '_CRT_NONSTDC_NO_WARNINGS', '_CRT_NONSTDC_NO_DEPRECATE', + # This is required for ATL to use XP-safe versions of its functions. + '_USING_V110_SDK71_', ], 'msvs_disabled_warnings': [4800], 'msvs_settings': { @@ -401,6 +403,7 @@ 'abstract': 1, 'msvs_settings': { 'VCLinkerTool': { + 'MinimumRequiredVersion': '5.01', # XP. 'TargetMachine': '1', }, },