mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add support for NetBSD, patch by Krister Walfridsson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e04c90bde5
commit
d3f6a8a8f0
@ -1323,7 +1323,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__) || defined(__OpenBSD__)\n"
|
||||
<< "#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#elif defined(_MSC_VER)\n"
|
||||
<< "#define inline _inline\n"
|
||||
|
Loading…
Reference in New Issue
Block a user