commit | da4047d8384ec30c33f2dad1091325b81d39cf72 | [log] [tgz] |
---|---|---|
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Mon Jul 17 21:52:31 2017 +0000 |
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Mon Jul 17 21:52:31 2017 +0000 |
tree | 6a35302612b2b4474de84053d3149a0a064bef7f | |
parent | 7afe61ad1dd29bd3db4668655502a1109b7cfea0 [diff] |
Check for _MSC_VER before defining _LIBCPP_MSVCRT Some targets (e.g. Darwin) might have the Win32 API available, but they do not use MSVC CRT. Assume _LIBCPP_MSVCRT only when _MSC_VER is available and __MINGW32__ isn't defined. Differential Revision: https://reviews.llvm.org/D34588 rdar://problem/32628786 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@308225 91177308-0d34-0410-b5e6-96231b3b80d8