Commit 03608f12 authored by hans@chromium.org's avatar hans@chromium.org

Always define _HAS_EXCEPTIONS=0 on Windows

Previously we would not define it in component builds because it didn't work with old versions of MSVC. These days it should work.

The macro is extra important for Clang, which doesn't currently support exceptions on Windows.

BUG=82385

Review URL: https://codereview.chromium.org/287193012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272478 0039d316-1c4b-4281-b951-d872f2087c98
parent fc1b688e
......@@ -4851,6 +4851,7 @@
'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
'WIN32_LEAN_AND_MEAN',
'_ATL_NO_OPENGL',
'_HAS_EXCEPTIONS=0',
],
'conditions': [
['buildtype=="Official"', {
......@@ -4910,11 +4911,6 @@
],
},
],
['component=="static_library"', {
'defines': [
'_HAS_EXCEPTIONS=0',
],
}],
['secure_atl', {
'defines': [
'_SECURE_ATL',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment