mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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:
parent
13259f8b0f
commit
d01f65aea1
@ -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";
|
||||
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user