1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02: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.

llvm-svn: 22202
This commit is contained in:
Reid Spencer 2005-06-08 17:44:48 +00:00
parent 47cd13d42a
commit a88b91d681

View File

@ -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 {