HomePhabricator

libcxx: Define set_unexpected, _get_unexpected and __uncaught_exceptions…

Authored by pcc on Jan 17 2018, 4:33 PM.

Description

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