Fix compilation in C++17 mode.

C++17 removes `std::unexpected_handler`, but libc++abi needs it to define
`__cxa_exception`. When building against libc++, this is easily rectified by
telling libc++ we're building the library. We already do this in the other
places where we need these symbols.

Differential Revision: https://reviews.llvm.org/D42987


git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@324542 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed