smeenai added a comment.

@compnerd see my previous comment:

> @EricWF and I discussed this on IRC a bit. I'm not a fan of overloading 
> _LIBCPP_WIN32API for this purpose, since to me that macro is meant for 
> guarding Windows API functions, not for CRT functions. Eric suggested adding 
> a new macro _LIBCPP_MSVCRT_LIKE, which I'd be fine with.

`_LIBCPP_MSVCRT` isn't defined for MinGW (since they have their own CRT 
headers), so we need a new macro that's defined for both MSVCRT and MinGW.


https://reviews.llvm.org/D33082



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

Reply via email to