From bcf30daebbcc274951e7806e24b19d4a993cd22f Mon Sep 17 00:00:00 2001 From: "dcheng@chromium.org" Date: Mon, 13 Jan 2014 07:00:00 +0000 Subject: Fix 2010e compile by adding intsafe_workaround to SDCH. Patch from joaodasilva. BUG=308740 R=scottmg@chromium.org TBR=wtc@chromium.org Review URL: https://codereview.chromium.org/136083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244469 0039d316-1c4b-4281-b951-d872f2087c98 --- sdch/sdch.gyp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sdch') diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp index 2e74aa5..af65409 100644 --- a/sdch/sdch.gyp +++ b/sdch/sdch.gyp @@ -85,8 +85,16 @@ # ForcedIncludeFiles is relative to include_dirs, cflags relative to the # build directory. 'xcode_settings': { 'GCC_PREFIX_HEADER': '<(logging_path)' }, + 'msvs_system_include_dirs': [ + '<(DEPTH)/build', + ], 'msvs_settings': { - 'VCCLCompilerTool': { 'ForcedIncludeFiles': [ 'sdch/<(logging_path)' ] } + 'VCCLCompilerTool': { + 'ForcedIncludeFiles': [ + 'intsafe_workaround.h', # http://crbug.com/308740 + 'sdch/<(logging_path)', + ] + } }, 'cflags': [ '-include', '<(logging_dir)/sdch/<(logging_path)' ], }, -- cgit v1.1