libcxx: Define set_unexpected, _get_unexpected and __uncaught_exceptions without...
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 18 Jan 2018 00:33:35 +0000 (00:33 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 18 Jan 2018 00:33:35 +0000 (00:33 +0000)
commit5e27cce46729ab431da4e503c651763a0798e5a5
treec9b9ade41c0f5c1ee88c202b2faaf1bf70ff83bb
parentdd77ed51e740f37072963c34fa764fe19e3070b0
libcxx: Define set_unexpected, _get_unexpected and __uncaught_exceptions without dllimport.

It turns out that the MSVC headers define these functions without
dllimport even when compiling with /MD. This change fixes the resulting
compile-time error.

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

llvm-svn: 322794
libcxx/src/support/runtime/exception_msvc.ipp