[cfe-commits] r127238 - /cfe/trunk/lib/Basic/Targets.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Tue Mar 8 04:06:46 PST 2011
Author: chapuni
Date: Tue Mar 8 06:06:46 2011
New Revision: 127238
URL: http://llvm.org/viewvc/llvm-project?rev=127238&view=rev
Log:
lib/Basic/Targets.cpp: mingw-w64 should define __MINGW32__, too.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=127238&r1=127237&r2=127238&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Mar 8 06:06:46 2011
@@ -1629,6 +1629,7 @@
WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder);
DefineStd(Builder, "WIN64", Opts);
Builder.defineMacro("__MSVCRT__");
+ Builder.defineMacro("__MINGW32__");
Builder.defineMacro("__MINGW64__");
Builder.defineMacro("__declspec", "__declspec");
}
More information about the cfe-commits
mailing list