[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCSubtarget.h
Nick Lewycky
nicholas at mxc.ca
Thu Jan 18 20:36:17 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCSubtarget.h updated: 1.21 -> 1.22
---
Log message:
Needed to build on PPC Linux.
---
Diffs of the changes: (+3 -0)
PPCSubtarget.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCSubtarget.h
diff -u llvm/lib/Target/PowerPC/PPCSubtarget.h:1.21 llvm/lib/Target/PowerPC/PPCSubtarget.h:1.22
--- llvm/lib/Target/PowerPC/PPCSubtarget.h:1.21 Tue Jan 16 03:29:16 2007
+++ llvm/lib/Target/PowerPC/PPCSubtarget.h Thu Jan 18 22:36:02 2007
@@ -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 {
More information about the llvm-commits
mailing list