From bd92d81d22c90433e968077aa0a4157d631d6365 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 19 Jan 2007 04:36:02 +0000 Subject: [PATCH] Needed to build on PPC Linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33352 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCSubtarget.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 63efe9e9636..de17c621bb3 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -19,6 +19,9 @@ #include +// GCC #defines PPC on Linux but we use it as our namespace name +#undef PPC + namespace llvm { namespace PPC {