projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765e08d
)
some mips and some sparc compilers apparently
author
Chris Lattner
<sabre@nondot.org>
Wed, 26 Aug 2009 05:00:16 +0000
(
05:00
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 26 Aug 2009 05:00:16 +0000
(
05:00
+0000)
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
include/llvm/ADT/Triple.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Triple.h
b/include/llvm/ADT/Triple.h
index 46bf90082ec02e8bd92dd661608dfb3627690d30..03ecd708fff09bd14d8bf2c50e62140f560baf6c 100644
(file)
--- 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;