[cfe-commits] r123690 - /cfe/trunk/lib/Basic/Targets.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Mon Jan 17 14:56:16 PST 2011
Author: chapuni
Date: Mon Jan 17 16:56:16 2011
New Revision: 123690
URL: http://llvm.org/viewvc/llvm-project?rev=123690&view=rev
Log:
lib/Basic/Targets.cpp: Fix __declspec() on Mingw-w64.
It should be defined as-is. Some headers would detect existence of __declspec and use one.
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=123690&r1=123689&r2=123690&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Jan 17 16:56:16 2011
@@ -1622,7 +1622,7 @@
DefineStd(Builder, "WIN64", Opts);
Builder.defineMacro("__MSVCRT__");
Builder.defineMacro("__MINGW64__");
- Builder.defineMacro("__declspec");
+ Builder.defineMacro("__declspec", "__declspec");
}
};
} // end anonymous namespace
More information about the cfe-commits
mailing list