From: NAKAMURA Takumi Date: Tue, 8 Mar 2011 12:06:46 +0000 (+0000) Subject: lib/Basic/Targets.cpp: mingw-w64 should define __MINGW32__, too. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17c964ad98968ad7d88e60b4a60d463d3c5ffb4d;p=clang lib/Basic/Targets.cpp: mingw-w64 should define __MINGW32__, too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127238 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 55321f2498..a9667bb2dd 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1629,6 +1629,7 @@ public: WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder); DefineStd(Builder, "WIN64", Opts); Builder.defineMacro("__MSVCRT__"); + Builder.defineMacro("__MINGW32__"); Builder.defineMacro("__MINGW64__"); Builder.defineMacro("__declspec", "__declspec"); }