some mips and some sparc compilers apparently

predefine mips and sparc respectively.  Just overrule them :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-26 05:00:16 +00:00
parent 765e08d4d5
commit be1f788676

View File

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