[cfe-commits] r82621 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Sep 23 11:08:22 PDT 2009
On Wed, Sep 23, 2009 at 12:31 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> + virtual void getTargetDefines(const LangOptions &Opts,
> + std::vector<char> &Defines) const {
> + WindowsX86_32TargetInfo::getTargetDefines(Opts, Defines);
> + Define(Defines, "__MSVCRT__");
> + Define(Defines, "__MINGW32__");
> + Define(Defines, "__declspec");
I think it would be more correct to define __declspec to __declspec;
this isn't precisely what MinGW gcc does, but I think it's close
enough for our purposes.
-Eli
More information about the cfe-commits
mailing list