mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
MS C does have inlining after all, just uses _inline instead of inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf525fcbae
commit
e2cd2a0b4b
@ -1294,7 +1294,7 @@ static void generateCompilerSpecificCode(std::ostream& Out) {
|
||||
<< "#elif defined(__FreeBSD__) || defined(__OpenBSD__)\n"
|
||||
<< "#define alloca(x) __builtin_alloca(x)\n"
|
||||
<< "#elif defined(_MSC_VER)\n"
|
||||
<< "#define inline\n"
|
||||
<< "#define inline _inline\n"
|
||||
<< "#define alloca(x) _alloca(x)\n"
|
||||
<< "#else\n"
|
||||
<< "#include <alloca.h>\n"
|
||||
|
Loading…
Reference in New Issue
Block a user