mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
For PR572:
Undefine the PPC symbol which is defined by Linux/PPC (erroneously) so it doesn't pollute the user namespace and clash with our namespace declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2c4bf3ff6
commit
eae435de83
@ -16,6 +16,12 @@
|
||||
|
||||
#include "llvm/CodeGen/MachineRelocation.h"
|
||||
|
||||
// Hack to rid us of a PPC pre-processor symbol which is erroneously
|
||||
// defined in a PowerPC header file (bug in Linux/PPC)
|
||||
#ifdef PPC
|
||||
#undef PPC
|
||||
#endif
|
||||
|
||||
namespace llvm {
|
||||
namespace PPC {
|
||||
enum RelocationType {
|
||||
|
Loading…
Reference in New Issue
Block a user