From 1423a9adb4753fa7f23ac1dbbccaa6ee1751da8f Mon Sep 17 00:00:00 2001 From: kai Date: Tue, 23 Oct 2012 08:42:16 +0200 Subject: [PATCH] Add new platform AIX. I have now access to a POWER7 box, so I hope to really supports this in druntime, too. --- driver/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/driver/main.cpp b/driver/main.cpp index 67d4fcab..7db77e26 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -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();