[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPC.h

Misha Brukman brukman at cs.uiuc.edu
Sun Nov 14 12:34:11 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPC.h updated: 1.10 -> 1.11
---
Log message:

Fix build on Linux/PowerPC64 using SuSE GCC (#undef PPC)


---
Diffs of the changes:  (+3 -0)

Index: llvm/lib/Target/PowerPC/PowerPC.h
diff -u llvm/lib/Target/PowerPC/PowerPC.h:1.10 llvm/lib/Target/PowerPC/PowerPC.h:1.11
--- llvm/lib/Target/PowerPC/PowerPC.h:1.10	Sat Sep  4 00:00:00 2004
+++ llvm/lib/Target/PowerPC/PowerPC.h	Sun Nov 14 14:34:01 2004
@@ -30,6 +30,9 @@
 
 } // 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.
 //






More information about the llvm-commits mailing list