Revert 272478 "Always define _HAS_EXCEPTIONS=0 on Windows"

Caused assertion failures in multiple test suites.

BUG=82385,377008

> 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

TBR=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
kbr@chromium.org 2014-05-23 22:11:03 +00:00
Родитель 0aad604aa5
Коммит fe1b993df3
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -4851,7 +4851,6 @@
'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
'WIN32_LEAN_AND_MEAN',
'_ATL_NO_OPENGL',
'_HAS_EXCEPTIONS=0',
],
'conditions': [
['buildtype=="Official"', {
@ -4911,6 +4910,11 @@
],
},
],
['component=="static_library"', {
'defines': [
'_HAS_EXCEPTIONS=0',
],
}],
['secure_atl', {
'defines': [
'_SECURE_ATL',