allocator: Use _CPPUNWIND instead of _HAS_EXCEPTIONS on Windows.
_HAS_EXCEPTIONS is specific to the MSVC STL and defining it to 0
causes problems with libc++, so I'm planning to leave it undefined
with libc++.
_CPPUNWIND is a builtin macro provided by the compiler so it should
work with both STLs.
Bug: 801780
Change-Id: I9885a58e75804096f23e73fc0adf7afad140e645
Reviewed-on: https://chromium-review.googlesource.com/885063
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536414}
CrOS-Libchrome-Original-Commit: 7edeb73cadc922fcd476f2c7eb0f172649d46d09
1 file changed