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.

llvm-svn: 123690
This commit is contained in:
NAKAMURA Takumi 2011-01-17 22:56:16 +00:00
parent f7c3022369
commit ce5519a790
1 changed files with 1 additions and 1 deletions

View File

@ -1622,7 +1622,7 @@ public:
DefineStd(Builder, "WIN64", Opts);
Builder.defineMacro("__MSVCRT__");
Builder.defineMacro("__MINGW64__");
Builder.defineMacro("__declspec");
Builder.defineMacro("__declspec", "__declspec");
}
};
} // end anonymous namespace