build: Don't define _HAS_EXCEPTIONS to 0 with libc++.

libc++ uses the __has_feature macro to control whether to use exceptions,
so defining this macro is unnecessary. Defining _HAS_EXCEPTIONS to 0 also
breaks libc++ because it depends on MSVC headers that only provide certain
declarations if _HAS_EXCEPTIONS is 1. Those MSVC headers do not use
exceptions, despite being conditional on _HAS_EXCEPTIONS.

Bug: 801780
Change-Id: Icc90ffeea55fe7298a0780ea99a4c33a493ac533
Reviewed-on: https://chromium-review.googlesource.com/885503
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536209}
1 file changed