aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-17 16:02:32 +0000
committerChris Lattner <sabre@nondot.org>2010-08-17 16:02:32 +0000
commit653f5812f754a1e91991f4901ec4e9145ae2be68 (patch)
treea5089e68cd977ed5e00dfdb257e07935217a6fee /lib/Basic/Targets.cpp
parente78968547e4976834090efdac4522c7b94daa89a (diff)
apparently msvc defines _STDCALL_SUPPORTED, so we should
too. Patch by Per Linden! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r--lib/Basic/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 1e8ed79a0a..77319e1c4d 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -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