Fix CBE code so that it compiles with VC++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-01-06 04:21:49 +00:00
parent 13259f8b0f
commit d01f65aea1
2 changed files with 2 additions and 2 deletions

View File

@ -735,7 +735,7 @@ static void generateCompilerSpecificCode(std::ostream& Out) {
<< "#define alloca(x) __builtin_alloca(x)\n"
<< "#elif defined(__FreeBSD__)\n"
<< "#define alloca(x) __builtin_alloca(x)\n"
<< "#else\n"
<< "#elif !defined(_MSC_VER)\n"
<< "#include <alloca.h>\n"
<< "#endif\n\n";

View File

@ -735,7 +735,7 @@ static void generateCompilerSpecificCode(std::ostream& Out) {
<< "#define alloca(x) __builtin_alloca(x)\n"
<< "#elif defined(__FreeBSD__)\n"
<< "#define alloca(x) __builtin_alloca(x)\n"
<< "#else\n"
<< "#elif !defined(_MSC_VER)\n"
<< "#include <alloca.h>\n"
<< "#endif\n\n";