commit | a12e23718020c77afaf4227ebab16f9553b2d939 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Thu Jan 18 00:33:35 2018 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Thu Jan 18 00:33:35 2018 +0000 |
tree | d6b6677537c30bdc64048b0c09e374315932d286 | |
parent | 74cb4f5f4649a6b574c8411ac7a53cbd7098752e [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322794 91177308-0d34-0410-b5e6-96231b3b80d8