[cfe-commits] [cfe-dev] [PATCH] Windows improvements

Erik Olofsson Erik.Olofsson at hansoft.se
Mon Feb 28 04:46:31 PST 2011


Hello Takumi,

> In C/C++ sources, we may detect MSVC with _MSC_VER, I suppose.
> IMO I don't need to introduce LLVM_ON_WIN32MSVC.
>
> Rather, I think LLVM_ON_**** could be deprecated. It should be enough
> with _WIN32.

But what about if you then use a clang compiled in mingw to host itself. I assume we need ms extensions enabled, and then _MSC_VER will be defined.

Regards,
Erik





More information about the cfe-commits mailing list