Skip to content

Commit 28c5b86

Browse files
committed
Needed to build on PPC Linux.
llvm-svn: 33352
1 parent fb51713 commit 28c5b86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/PowerPC/PPCSubtarget.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
#include <string>
2121

22+
// GCC #defines PPC on Linux but we use it as our namespace name
23+
#undef PPC
24+
2225
namespace llvm {
2326

2427
namespace PPC {

0 commit comments

Comments
 (0)