mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Add checks for __OpenBSD__.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -813,7 +813,7 @@ static void generateCompilerSpecificCode(std::ostream& Out) {
|
||||
<< "extern void *__builtin_alloca(unsigned int);\n"
|
||||
<< "#endif\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#elif defined(__FreeBSD__)\n"
|
||||
<< "#elif defined(__FreeBSD__) || defined(__OpenBSD__)\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#elif !defined(_MSC_VER)\n"
|
||||
<< "#include <alloca.h>\n"
|
||||
|
Reference in New Issue
Block a user