diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2007-01-19 04:36:02 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2007-01-19 04:36:02 +0000 |
commit | bd92d81d22c90433e968077aa0a4157d631d6365 (patch) | |
tree | 701a03618a1c13fc9bd0db95aacca61983dca5f7 /lib | |
parent | 96b366d4ca783962f6c34dc23971e294c94e3a7e (diff) |
Needed to build on PPC Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 63efe9e963..de17c621bb 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -19,6 +19,9 @@ #include <string> +// GCC #defines PPC on Linux but we use it as our namespace name +#undef PPC + namespace llvm { namespace PPC { |