Re: [cfe-users] Clang/LLVM detection on Windows

2017-10-25 Thread Hans Wennborg via cfe-users
I don't believe Clang defines _MSC_VER when targeting MinGW. For MinGW, I belive it also defines __MINGW32__ or __MINGW64__ depending on target architecture. Cheers, Hans On Wed, Oct 25, 2017 at 8:00 AM, degski via cfe-users wrote: > Is there a macro defined by Clang

[cfe-users] Clang/LLVM detection on Windows

2017-10-25 Thread degski via cfe-users
Is there a macro defined by Clang that helps to distinguish between Clang/LLVM is called under MinGW/Cygwin and Clang/LLVM with/from MSVC? Have a good day, degski ___ cfe-users mailing list cfe-users@lists.llvm.org