[cfe-commits] r42089 - /cfe/trunk/Sema/SemaDecl.cpp
Gabor Greif
gabor at mac.com
Tue Sep 18 06:30:21 PDT 2007
There should already be a configure symbol
HAVE_ALLOCA_H (IIRC)
Should we use that?
Chris?
Cheers,
Gabor
Index: Sema/SemaDecl.cpp
===================================================================
--- Sema/SemaDecl.cpp (revision 42093)
+++ Sema/SemaDecl.cpp (working copy)
@@ -24,7 +24,7 @@
#include "clang/Basic/TargetInfo.h"
#include "llvm/Config/config.h"
#include "llvm/ADT/SmallSet.h"
-#if !defined(LLVM_ON_WIN32)
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
using namespace clang;
More information about the cfe-commits
mailing list