[cfe-commits] r75013 - /cfe/trunk/include/clang/Basic/Builtins.h
Chris Lattner
sabre at nondot.org
Wed Jul 8 09:24:57 PDT 2009
Author: lattner
Date: Wed Jul 8 11:24:37 2009
New Revision: 75013
URL: http://llvm.org/viewvc/llvm-project?rev=75013&view=rev
Log:
fix PR4513, a build problem with VC++, patch by James Abbatiello!
Modified:
cfe/trunk/include/clang/Basic/Builtins.h
Modified: cfe/trunk/include/clang/Basic/Builtins.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.h?rev=75013&r1=75012&r2=75013&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.h (original)
+++ cfe/trunk/include/clang/Basic/Builtins.h Wed Jul 8 11:24:37 2009
@@ -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;
}
More information about the cfe-commits
mailing list