[cfe-commits] r170188 - /cfe/trunk/lib/Basic/Targets.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Dec 14 02:17:27 PST 2012
Author: chapuni
Date: Fri Dec 14 04:17:26 2012
New Revision: 170188
URL: http://llvm.org/viewvc/llvm-project?rev=170188&view=rev
Log:
Targets.cpp: [cygwin] Add the predefined macro "_X86_", according to newer version of cygwin/w32api.
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=170188&r1=170187&r2=170188&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Dec 14 04:17:26 2012
@@ -2763,6 +2763,7 @@
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
X86_32TargetInfo::getTargetDefines(Opts, Builder);
+ Builder.defineMacro("_X86_");
Builder.defineMacro("__CYGWIN__");
Builder.defineMacro("__CYGWIN32__");
DefineStd(Builder, "unix", Opts);
More information about the cfe-commits
mailing list