diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/Triple.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 46bf90082e..03ecd708ff 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -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; |