From fc256599b3b64af0ad09c416e12a3479e6534ce6 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sun, 14 Nov 2004 20:34:01 +0000 Subject: [PATCH] Fix build on Linux/PowerPC64 using SuSE GCC (#undef PPC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17744 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPC.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h index 785f9e09b2c..7ca87d9ba52 100644 --- a/lib/Target/PowerPC/PPC.h +++ b/lib/Target/PowerPC/PPC.h @@ -30,6 +30,9 @@ FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM); } // end namespace llvm; +// GCC #defines PPC on Linux but we use it as our namespace name +#undef PPC + // Defines symbolic names for PowerPC registers. This defines a mapping from // register name to register number. //