From 9a7b0855a6b3ecb5fdaa363722cba3e827752cb9 Mon Sep 17 00:00:00 2001 From: Cedric Venet Date: Sun, 27 Sep 2009 10:09:11 +0000 Subject: [PATCH] Handle Eli remark on mingw __declspec macro definition git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82894 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 917edfe592..324b1d6f84 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -998,7 +998,7 @@ public: WindowsX86_32TargetInfo::getTargetDefines(Opts, Defines); Define(Defines, "__MSVCRT__"); Define(Defines, "__MINGW32__"); - Define(Defines, "__declspec"); + Define(Defines, "__declspec", "__declspec"); } }; } // end anonymous namespace