forked from OSchip/llvm-project
some mips and some sparc compilers apparently
predefine mips and sparc respectively. Just overrule them :) llvm-svn: 80072
This commit is contained in:
parent
71425084f1
commit
1c9afc7130
|
@ -13,6 +13,11 @@
|
|||
#include "llvm/ADT/StringRef.h"
|
||||
#include <string>
|
||||
|
||||
// Some system headers or GCC predefined macros conflict with identifiers in
|
||||
// this file. Undefine them here.
|
||||
#undef mips
|
||||
#undef sparc
|
||||
|
||||
namespace llvm {
|
||||
class StringRef;
|
||||
class Twine;
|
||||
|
|
Loading…
Reference in New Issue