diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-08 16:24:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-08 16:24:37 +0000 |
commit | cb3f20ded288518be8559d2057d5059fadcf3bb6 (patch) | |
tree | c266ea21a63a249127ce1df7622613500b8a96b2 /include/clang/Basic/Builtins.h | |
parent | 1e90faf4f218880999637db1a5cd670eb63e5abc (diff) |
fix PR4513, a build problem with VC++, patch by James Abbatiello!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Builtins.h')
-rw-r--r-- | include/clang/Basic/Builtins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/Builtins.h b/include/clang/Basic/Builtins.h index f770c5089e..5711fc1eb4 100644 --- a/include/clang/Basic/Builtins.h +++ b/include/clang/Basic/Builtins.h @@ -17,6 +17,10 @@ #include <cstring> +// VC++ defines 'alloca' as an object-like macro, which interferes with our +// builtins. +#undef alloca + namespace llvm { template <typename T> class SmallVectorImpl; } |