some mips and some sparc compilers apparently

predefine mips and sparc respectively.  Just overrule them :)

llvm-svn: 80072
This commit is contained in:
Chris Lattner 2009-08-26 05:00:16 +00:00
parent cacfed5271
commit 7e0ab348a7

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;