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:
kai 2012-10-23 08:42:16 +02:00
parent c67e6f137d
commit 1423a9adb4

View file

@ -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();