rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

> Some non-windows targets using MS extensions define _WIN32 for compatibility 
> with Windows but do not have MSVC compatibility.

So, these hypothetical targets have the Win32 API available, but they do not 
use the MSVC CRT, correct? They could use musl, or some custom C runtime, but 
they don't want libc++ to aim for MSVCRT compatibility.

---

In any case, checking _MSC_VER is the best thing I can think of for guessing if 
the MSVC CRT is going to be present, so this looks good.


https://reviews.llvm.org/D34588



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to