Needed to build on PPC Linux.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 19 Jan 2007 04:36:02 +0000 (04:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 19 Jan 2007 04:36:02 +0000 (04:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33352 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCSubtarget.h

index 63efe9e96361cd49c39321c538da7294b3c453d0..de17c621bb3cef559185a227d166a1adc5a0999f 100644 (file)
@@ -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 {