[cfe-commits] r82894 - /cfe/trunk/lib/Basic/Targets.cpp

Cedric Venet cedric.venet at laposte.net
Sun Sep 27 03:09:11 PDT 2009


Author: venet
Date: Sun Sep 27 05:09:11 2009
New Revision: 82894

URL: http://llvm.org/viewvc/llvm-project?rev=82894&view=rev
Log:
Handle Eli remark on mingw __declspec macro definition

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=82894&r1=82893&r2=82894&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sun Sep 27 05:09:11 2009
@@ -998,7 +998,7 @@
     WindowsX86_32TargetInfo::getTargetDefines(Opts, Defines);
     Define(Defines, "__MSVCRT__");
     Define(Defines, "__MINGW32__");
-    Define(Defines, "__declspec");
+    Define(Defines, "__declspec", "__declspec");
   }
 };
 } // end anonymous namespace





More information about the cfe-commits mailing list