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: http://src.chromium.org/svn/trunk/src/build@272478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
hans@chromium.org 2014-05-23 10:54:56 +00:00
Родитель 837b5cf9a4
Коммит d028e1e535
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -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',