]> granicus.if.org Git - clang/commitdiff
apparently msvc defines _STDCALL_SUPPORTED, so we should
authorChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2010 16:02:32 +0000 (16:02 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Aug 2010 16:02:32 +0000 (16:02 +0000)
too.  Patch by Per Linden!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111236 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 1e8ed79a0a45b982c58de9a7e6d7c3750d1fa0fc..77319e1c4d1488521ead87bb76a749b1c453d96e 100644 (file)
@@ -1350,6 +1350,7 @@ public:
     // We lost the original triple, so we use the default.
     Builder.defineMacro("_M_IX86", "600");
     Builder.defineMacro("_INTEGRAL_MAX_BITS", "64");
+    Builder.defineMacro("_STDCALL_SUPPORTED");
   }
 };
 } // end anonymous namespace