projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b366d
)
Needed to build on PPC Linux.
author
Nick Lewycky
<nicholas@mxc.ca>
Fri, 19 Jan 2007 04:36:02 +0000
(
04:36
+0000)
committer
Nick 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
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCSubtarget.h
b/lib/Target/PowerPC/PPCSubtarget.h
index 63efe9e96361cd49c39321c538da7294b3c453d0..de17c621bb3cef559185a227d166a1adc5a0999f 100644
(file)
--- 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 {