mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Don't include alloca.h on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2eb9a257c8
commit
a0145ccb20
@ -528,7 +528,9 @@ static void generateAllocaDecl(std::ostream& Out) {
|
||||
<< "extern void *__builtin_alloca(unsigned long);\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#else\n"
|
||||
<< "#ifndef __FreeBSD__\n"
|
||||
<< "#include <alloca.h>\n"
|
||||
<< "#endif\n"
|
||||
<< "#endif\n\n";
|
||||
}
|
||||
|
||||
|
@ -528,7 +528,9 @@ static void generateAllocaDecl(std::ostream& Out) {
|
||||
<< "extern void *__builtin_alloca(unsigned long);\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#else\n"
|
||||
<< "#ifndef __FreeBSD__\n"
|
||||
<< "#include <alloca.h>\n"
|
||||
<< "#endif\n"
|
||||
<< "#endif\n\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user