mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Add new platform AIX.
I have now access to a POWER7 box, so I hope to really supports this in druntime, too.
This commit is contained in:
parent
c67e6f137d
commit
1423a9adb4
1 changed files with 6 additions and 0 deletions
|
@ -721,6 +721,12 @@ int main(int argc, char** argv)
|
|||
VersionCondition::addPredefinedGlobalIdent("OpenBSD");
|
||||
VersionCondition::addPredefinedGlobalIdent("Posix");
|
||||
break;
|
||||
#if LDC_LLVM_VER >= 302
|
||||
case llvm::Triple::AIX:
|
||||
VersionCondition::addPredefinedGlobalIdent("AIX");
|
||||
VersionCondition::addPredefinedGlobalIdent("Posix");
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
error("target '%s' is not yet supported", global.params.targetTriple.str().c_str());
|
||||
fatal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue